package common import ( "fmt" "testing" ) func TestGetCode(t *testing.T) { res := Example(5, 10) for i := 0; i < len(res); i++ { fmt.Println(i+1, res[i]) } fmt.Println(res[0]) }