Browse Source

Use absolute imports

content-update
Xavier Petit 4 years ago committed by xpetit
parent
commit
52285bab5d
  1. 2
      go/tests/FIXME/func/test_addlinkednumbers.go
  2. 2
      go/tests/FIXME/func/test_atoibase.go
  3. 2
      go/tests/FIXME/func/test_btreedeletenode.go
  4. 2
      go/tests/FIXME/func/test_btreeinsertdata.go
  5. 2
      go/tests/FIXME/func/test_btreeisbinary.go
  6. 2
      go/tests/FIXME/func/test_btreelevelcount.go
  7. 2
      go/tests/FIXME/func/test_btreemax.go
  8. 2
      go/tests/FIXME/func/test_btreemin.go
  9. 2
      go/tests/FIXME/func/test_btreesearchitem.go
  10. 2
      go/tests/FIXME/func/test_btreetransplant.go
  11. 2
      go/tests/FIXME/func/test_changeorder.go
  12. 2
      go/tests/FIXME/func/test_convertbase.go
  13. 2
      go/tests/FIXME/func/test_listat.go
  14. 2
      go/tests/FIXME/func/test_listclear.go
  15. 2
      go/tests/FIXME/func/test_listfind.go
  16. 2
      go/tests/FIXME/func/test_listforeach.go
  17. 2
      go/tests/FIXME/func/test_listforeachif.go
  18. 2
      go/tests/FIXME/func/test_listlast.go
  19. 2
      go/tests/FIXME/func/test_listmerge.go
  20. 2
      go/tests/FIXME/func/test_listpushback.go
  21. 2
      go/tests/FIXME/func/test_listpushfront.go
  22. 2
      go/tests/FIXME/func/test_listremoveif.go
  23. 2
      go/tests/FIXME/func/test_listreverse.go
  24. 2
      go/tests/FIXME/func/test_listsize.go
  25. 2
      go/tests/FIXME/func/test_listsort.go
  26. 2
      go/tests/FIXME/func/test_printnbrbase.go
  27. 2
      go/tests/FIXME/func/test_sortedlistmerge.go
  28. 2
      go/tests/FIXME/func/test_sortlistinsert.go
  29. 2
      go/tests/FIXME/func/test_sortll.go
  30. 2
      go/tests/FIXME/prog/test_pilot.go
  31. 3
      go/tests/abort/main.go
  32. 5
      go/tests/activebits/main.go
  33. 2
      go/tests/addprimesum/main.go
  34. 1
      go/tests/advancedsortwordarr/main.go
  35. 1
      go/tests/alphacount/main.go
  36. 4
      go/tests/alphamirror/main.go
  37. 1
      go/tests/any/main.go
  38. 5
      go/tests/appendrange/main.go
  39. 1
      go/tests/atoi/main.go
  40. 4
      go/tests/balancedstring/main.go
  41. 1
      go/tests/basicatoi/main.go
  42. 1
      go/tests/basicatoi2/main.go
  43. 5
      go/tests/basicjoin/main.go
  44. 2
      go/tests/boolean/main.go
  45. 4
      go/tests/brackets/main.go
  46. 2
      go/tests/brainfuck/main.go
  47. 1
      go/tests/capitalize/main.go
  48. 2
      go/tests/cat/main.go
  49. 1
      go/tests/chunk/main.go
  50. 4
      go/tests/cleanstr/main.go
  51. 5
      go/tests/collatzcountdown/main.go
  52. 2
      go/tests/comcheck/main.go
  53. 1
      go/tests/compact/main.go
  54. 1
      go/tests/compare/main.go
  55. 5
      go/tests/concat/main.go
  56. 1
      go/tests/concatparams/main.go
  57. 2
      go/tests/costumeprofit/main.go
  58. 4
      go/tests/countdown/main.go
  59. 1
      go/tests/countif/main.go
  60. 2
      go/tests/displaya/main.go
  61. 4
      go/tests/displayalpham/main.go
  62. 4
      go/tests/displayalrevm/main.go
  63. 2
      go/tests/displayfile/main.go
  64. 2
      go/tests/displayfirstparam/main.go
  65. 2
      go/tests/displaylastparam/main.go
  66. 2
      go/tests/displayz/main.go
  67. 5
      go/tests/divmod/main.go
  68. 5
      go/tests/doop/main.go
  69. 1
      go/tests/doppelganger/main.go
  70. 1
      go/tests/eightqueens/main.go
  71. 5
      go/tests/enigma/main.go
  72. 4
      go/tests/expandstr/main.go
  73. 5
      go/tests/fib/main.go
  74. 5
      go/tests/fibonacci/main.go
  75. 1
      go/tests/findnextprime/main.go
  76. 1
      go/tests/findprevprime/main.go
  77. 5
      go/tests/firstrune/main.go
  78. 4
      go/tests/firstword/main.go
  79. 4
      go/tests/fixthemain/main.go
  80. 4
      go/tests/flags/main.go
  81. 1
      go/tests/foldint/main.go
  82. 1
      go/tests/foreach/main.go
  83. 2
      go/tests/fprime/main.go
  84. 5
      go/tests/game23/main.go
  85. 2
      go/tests/gcd/main.go
  86. 4
      go/tests/grouping/main.go
  87. 5
      go/tests/halfcontest/main.go
  88. 4
      go/tests/hello/main.go
  89. 4
      go/tests/hiddenp/main.go
  90. 1
      go/tests/index/main.go
  91. 2
      go/tests/inter/main.go
  92. 5
      go/tests/interestingnumber/main.go
  93. 1
      go/tests/isalpha/main.go
  94. 5
      go/tests/isanagram/main.go
  95. 1
      go/tests/islower/main.go
  96. 1
      go/tests/isnegative/main.go
  97. 1
      go/tests/isnumeric/main.go
  98. 2
      go/tests/ispowerof2/main.go
  99. 1
      go/tests/isprime/main.go
  100. 1
      go/tests/isprintable/main.go
  101. Some files were not shown because too many files changed in this diff diff.show_more

2
go/tests/FIXME/func/test_addlinkednumbers.go

@ -3,8 +3,8 @@ package main
import (
"strconv"
"../lib"
"./correct"
"github.com/01-edu/public/go/lib"
)
type stuNode = NodeAddL

2
go/tests/FIXME/func/test_atoibase.go

@ -1,10 +1,10 @@
package main
import (
"../lib"
"./base"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
// this is the function that creates the TESTS

2
go/tests/FIXME/func/test_btreedeletenode.go

@ -1,9 +1,9 @@
package main
import (
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
func parentListDelete(root *student.TreeNode) string {

2
go/tests/FIXME/func/test_btreeinsertdata.go

@ -1,9 +1,9 @@
package main
import (
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
func parentListInsert(root *student.TreeNode) string {

2
go/tests/FIXME/func/test_btreeisbinary.go

@ -3,9 +3,9 @@ package main
import (
"reflect"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
func BTreeMinStu(root *student.TreeNode) *student.TreeNode {

2
go/tests/FIXME/func/test_btreelevelcount.go

@ -3,9 +3,9 @@ package main
import (
"reflect"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
func errorMessage_level(fn interface{}, root, a *correct.TreeNode, b *student.TreeNode) {

2
go/tests/FIXME/func/test_btreemax.go

@ -3,9 +3,9 @@ package main
import (
"reflect"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
func errorMessage_max(fn interface{}, root, a *correct.TreeNode, b *student.TreeNode) {

2
go/tests/FIXME/func/test_btreemin.go

@ -3,9 +3,9 @@ package main
import (
"reflect"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
func errorMessage_min(fn interface{}, root, a *correct.TreeNode, b *student.TreeNode) {

2
go/tests/FIXME/func/test_btreesearchitem.go

@ -3,9 +3,9 @@ package main
import (
"fmt"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
func errorMessage_search(fn interface{}, root, a *correct.TreeNode, b *student.TreeNode,

2
go/tests/FIXME/func/test_btreetransplant.go

@ -3,9 +3,9 @@ package main
import (
"fmt"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
func parentListTransp(root *student.TreeNode) string {

2
go/tests/FIXME/func/test_changeorder.go

@ -3,8 +3,8 @@ package main
import (
"strconv"
"../lib"
"./correct"
"github.com/01-edu/public/go/lib"
)
type stuNode = NodeAddL

2
go/tests/FIXME/func/test_convertbase.go

@ -1,10 +1,10 @@
package main
import (
"../lib"
"./base"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
func main() {

2
go/tests/FIXME/func/test_listat.go

@ -1,9 +1,9 @@
package main
import (
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type Node5 = student.NodeL

2
go/tests/FIXME/func/test_listclear.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type Node4 = student.NodeL

2
go/tests/FIXME/func/test_listfind.go

@ -1,9 +1,9 @@
package main
import (
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type Node9 = student.NodeL

2
go/tests/FIXME/func/test_listforeach.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type Node7 = student.NodeL

2
go/tests/FIXME/func/test_listforeachif.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type Node8 = student.NodeL

2
go/tests/FIXME/func/test_listlast.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type Node3 = student.NodeL

2
go/tests/FIXME/func/test_listmerge.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type Node11 = student.NodeL

2
go/tests/FIXME/func/test_listpushback.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type ListS = correct.List

2
go/tests/FIXME/func/test_listpushfront.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type ListSa = correct.List

2
go/tests/FIXME/func/test_listremoveif.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type Node10 = student.NodeL

2
go/tests/FIXME/func/test_listreverse.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type Node6 = student.NodeL

2
go/tests/FIXME/func/test_listsize.go

@ -1,9 +1,9 @@
package main
import (
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type Node2 = student.NodeL

2
go/tests/FIXME/func/test_listsort.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type NodeI12 = student.NodeI

2
go/tests/FIXME/func/test_printnbrbase.go

@ -1,10 +1,10 @@
package main
import (
"../lib"
"./base"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
func main() {

2
go/tests/FIXME/func/test_sortedlistmerge.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type NodeI13 = student.NodeI

2
go/tests/FIXME/func/test_sortlistinsert.go

@ -3,9 +3,9 @@ package main
import (
"strconv"
"../lib"
"./correct"
"./student"
"github.com/01-edu/public/go/lib"
)
type NodeI14 = student.NodeI

2
go/tests/FIXME/func/test_sortll.go

@ -1,8 +1,8 @@
package main
import (
"../lib"
"./correct"
"github.com/01-edu/public/go/lib"
)
type stuNode = NodeAddL

2
go/tests/FIXME/prog/test_pilot.go

@ -1,6 +1,6 @@
package main
import "../lib"
import "github.com/01-edu/public/go/lib"
func main() {
lib.ChallengeMain("pilot")

3
go/tests/abort/main.go

@ -3,9 +3,8 @@ package main
import (
"sort"
"github.com/01-edu/public/tests/go/lib"
"./student"
"github.com/01-edu/public/go/lib"
)
// Receives 5 ints and returns the number in the middle

5
go/tests/activebits/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
// Function that return the number of active bits in the number passed as the argument
func activeBits(n int) (total int) {

2
go/tests/addprimesum/main.go

@ -3,7 +3,7 @@ package main
import (
"strconv"
"../lib"
"github.com/01-edu/public/go/lib"
)
func isAPrime(nb int) bool {

1
go/tests/advancedsortwordarr/main.go

@ -6,6 +6,7 @@ import (
"strings"
"./student"
"github.com/01-edu/public/go/lib"
)
func advancedSortWordArr(a []string, f func(a, b string) int) {

1
go/tests/alphacount/main.go

@ -4,6 +4,7 @@ import (
"unicode"
"./student"
"github.com/01-edu/public/go/lib"
)
func alphaCount(s string) (i int) {

4
go/tests/alphamirror/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
args := [][]string{

1
go/tests/any/main.go

@ -3,6 +3,7 @@ package main
import (
"../common"
"./student"
"github.com/01-edu/public/go/lib"
)
func any(f func(string) bool, arr []string) bool {

5
go/tests/appendrange/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func appendRange(min, max int) []int {
size := max - min

1
go/tests/atoi/main.go

@ -4,6 +4,7 @@ import (
"strconv"
"./student"
"github.com/01-edu/public/go/lib"
)
func atoi(s string) int {

4
go/tests/balancedstring/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
table := []string{

1
go/tests/basicatoi/main.go

@ -4,6 +4,7 @@ import (
"strconv"
"./student"
"github.com/01-edu/public/go/lib"
)
func basicAtoi(s string) int {

1
go/tests/basicatoi2/main.go

@ -4,6 +4,7 @@ import (
"strconv"
"./student"
"github.com/01-edu/public/go/lib"
)
func basicAtoi2(s string) int {

5
go/tests/basicjoin/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func basicJoin(a []string) (b string) {
for _, s := range a {

2
go/tests/boolean/main.go

@ -3,7 +3,7 @@ package main
import (
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

4
go/tests/brackets/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
oneArgs := []string{

2
go/tests/brainfuck/main.go

@ -3,7 +3,7 @@ package main
import (
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

1
go/tests/capitalize/main.go

@ -5,6 +5,7 @@ import (
"unicode"
"./student"
"github.com/01-edu/public/go/lib"
)
func capitalize(s string) string {

2
go/tests/cat/main.go

@ -6,7 +6,7 @@ import (
"os/exec"
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

1
go/tests/chunk/main.go

@ -4,6 +4,7 @@ import (
"fmt"
"./student"
"github.com/01-edu/public/go/lib"
)
func chunk(a []int, ch int) {

4
go/tests/cleanstr/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
args := []string{

5
go/tests/collatzcountdown/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func collatzCountdown(start int) int {
if start <= 0 {

2
go/tests/comcheck/main.go

@ -3,7 +3,7 @@ package main
import (
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

1
go/tests/compact/main.go

@ -4,6 +4,7 @@ import (
"reflect"
"./student"
"github.com/01-edu/public/go/lib"
)
func compact(slice *[]string) int {

1
go/tests/compare/main.go

@ -4,6 +4,7 @@ import (
"strings"
"./student"
"github.com/01-edu/public/go/lib"
)
func compare(a, b string) int {

5
go/tests/concat/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func concat(a, b string) string {
return a + b

1
go/tests/concatparams/main.go

@ -4,6 +4,7 @@ import (
"strings"
"./student"
"github.com/01-edu/public/go/lib"
)
func concatParams(args []string) string {

2
go/tests/costumeprofit/main.go

@ -3,7 +3,7 @@ package main
import (
"strconv"
"../lib"
"github.com/01-edu/public/go/lib"
)
type node struct {

4
go/tests/countdown/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
lib.ChallengeMain("countdown")

1
go/tests/countif/main.go

@ -3,6 +3,7 @@ package main
import (
"../common"
"./student"
"github.com/01-edu/public/go/lib"
)
func countIf(f func(string) bool, arr []string) int {

2
go/tests/displaya/main.go

@ -3,7 +3,7 @@ package main
import (
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

4
go/tests/displayalpham/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
lib.ChallengeMain("displayalpham")

4
go/tests/displayalrevm/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
lib.ChallengeMain("displayalrevm")

2
go/tests/displayfile/main.go

@ -4,7 +4,7 @@ import (
"os"
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

2
go/tests/displayfirstparam/main.go

@ -3,7 +3,7 @@ package main
import (
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

2
go/tests/displaylastparam/main.go

@ -3,7 +3,7 @@ package main
import (
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

2
go/tests/displayz/main.go

@ -3,7 +3,7 @@ package main
import (
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

5
go/tests/divmod/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func DivMod(a, b int, div, mod *int) {
*div = a / b

5
go/tests/doop/main.go

@ -1,11 +1,10 @@
package main
import (
"strings"
"strconv"
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

1
go/tests/doppelganger/main.go

@ -4,6 +4,7 @@ import (
"strings"
"./student"
"github.com/01-edu/public/go/lib"
)
func doppelGanger(s, substr string) int {

1
go/tests/eightqueens/main.go

@ -4,6 +4,7 @@ import (
"fmt"
"./student"
"github.com/01-edu/public/go/lib"
)
const size = 8

5
go/tests/enigma/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
// this function will put a in c; c in d; d in b and b in a
func Enigma(a ***int, b *int, c *******int, d ****int) {

4
go/tests/expandstr/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
args := [][]string{

5
go/tests/fib/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func fib(n int) int {
if n <= 0 {

5
go/tests/fibonacci/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func fibonacci(value int) int {
if value < 0 {

1
go/tests/findnextprime/main.go

@ -3,6 +3,7 @@ package main
import (
"../common"
"./student"
"github.com/01-edu/public/go/lib"
)
func findNextPrime(nb int) int {

1
go/tests/findprevprime/main.go

@ -3,6 +3,7 @@ package main
import (
"../common"
"./student"
"github.com/01-edu/public/go/lib"
)
func findPrevPrime(nb int) int {

5
go/tests/firstrune/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func firstRune(s string) rune {
runes := []rune(s)

4
go/tests/firstword/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
table := append(lib.MultRandWords(),

4
go/tests/fixthemain/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
lib.ChallengeMain("fixthemain")

4
go/tests/flags/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
type node struct {
flags []string

1
go/tests/foldint/main.go

@ -4,6 +4,7 @@ import (
"fmt"
"./student"
"github.com/01-edu/public/go/lib"
)
func foldInt(f func(int, int) int, a []int, n int) {

1
go/tests/foreach/main.go

@ -4,6 +4,7 @@ import (
"fmt"
"./student"
"github.com/01-edu/public/go/lib"
)
func forEach(f func(int), a []int) {

2
go/tests/fprime/main.go

@ -3,7 +3,7 @@ package main
import (
"strconv"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

5
go/tests/game23/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func game23(a, b int) int {
if a > b {

2
go/tests/gcd/main.go

@ -3,7 +3,7 @@ package main
import (
"strconv"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

4
go/tests/grouping/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func validRegExp(n int) string {
result := "("

5
go/tests/halfcontest/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func halfContest(h1, m1, h2, m2 int) int {
t1 := h1*60 + m1

4
go/tests/hello/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
lib.ChallengeMain("hello")

4
go/tests/hiddenp/main.go

@ -1,6 +1,8 @@
package main
import "../lib"
import (
"github.com/01-edu/public/go/lib"
)
func main() {
args := [][2]string{

1
go/tests/index/main.go

@ -4,6 +4,7 @@ import (
"strings"
"./student"
"github.com/01-edu/public/go/lib"
)
func index(s string, substr string) int {

2
go/tests/inter/main.go

@ -3,7 +3,7 @@ package main
import (
"strings"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

5
go/tests/interestingnumber/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func isInteresting(n int) bool {
s := 0

1
go/tests/isalpha/main.go

@ -4,6 +4,7 @@ import (
"unicode"
"./student"
"github.com/01-edu/public/go/lib"
)
func isAlpha(s string) bool {

5
go/tests/isanagram/main.go

@ -1,6 +1,9 @@
package main
import "./student"
import (
"./student"
"github.com/01-edu/public/go/lib"
)
func isAnagram(s, t string) bool {
alph := make([]int, 26)

1
go/tests/islower/main.go

@ -3,6 +3,7 @@ package main
import (
"../common"
"./student"
"github.com/01-edu/public/go/lib"
)
func main() {

1
go/tests/isnegative/main.go

@ -4,6 +4,7 @@ import (
"fmt"
"./student"
"github.com/01-edu/public/go/lib"
)
func isNegative(n int) {

1
go/tests/isnumeric/main.go

@ -5,6 +5,7 @@ import (
"../common"
"./student"
"github.com/01-edu/public/go/lib"
)
func main() {

2
go/tests/ispowerof2/main.go

@ -3,7 +3,7 @@ package main
import (
"strconv"
"../lib"
"github.com/01-edu/public/go/lib"
)
func main() {

1
go/tests/isprime/main.go

@ -3,6 +3,7 @@ package main
import (
"../common"
"./student"
"github.com/01-edu/public/go/lib"
)
func main() {

1
go/tests/isprintable/main.go

@ -5,6 +5,7 @@ import (
"unicode"
"./student"
"github.com/01-edu/public/go/lib"
)
func isPrintable(s string) bool {

Some files were not shown because too many files changed in this diff diff.show_more

Loading…
Cancel
Save