diff --git a/go/tests/FIXME/func/test_addlinkednumbers.go b/go/tests/FIXME/func/test_addlinkednumbers.go index 607ebb8ae..ef45c1af5 100644 --- a/go/tests/FIXME/func/test_addlinkednumbers.go +++ b/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 diff --git a/go/tests/FIXME/func/test_atoibase.go b/go/tests/FIXME/func/test_atoibase.go index b96cc4a18..73cdc7443 100644 --- a/go/tests/FIXME/func/test_atoibase.go +++ b/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 diff --git a/go/tests/FIXME/func/test_btreedeletenode.go b/go/tests/FIXME/func/test_btreedeletenode.go index 176156240..118b38463 100644 --- a/go/tests/FIXME/func/test_btreedeletenode.go +++ b/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 { diff --git a/go/tests/FIXME/func/test_btreeinsertdata.go b/go/tests/FIXME/func/test_btreeinsertdata.go index fa6c233e3..dd0efe832 100644 --- a/go/tests/FIXME/func/test_btreeinsertdata.go +++ b/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 { diff --git a/go/tests/FIXME/func/test_btreeisbinary.go b/go/tests/FIXME/func/test_btreeisbinary.go index ad335c701..6eb7da7b0 100644 --- a/go/tests/FIXME/func/test_btreeisbinary.go +++ b/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 { diff --git a/go/tests/FIXME/func/test_btreelevelcount.go b/go/tests/FIXME/func/test_btreelevelcount.go index df1a514f4..255d1928d 100644 --- a/go/tests/FIXME/func/test_btreelevelcount.go +++ b/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) { diff --git a/go/tests/FIXME/func/test_btreemax.go b/go/tests/FIXME/func/test_btreemax.go index efb35e1d3..dbe9bbb5d 100644 --- a/go/tests/FIXME/func/test_btreemax.go +++ b/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) { diff --git a/go/tests/FIXME/func/test_btreemin.go b/go/tests/FIXME/func/test_btreemin.go index 462505636..ecfacfdc3 100644 --- a/go/tests/FIXME/func/test_btreemin.go +++ b/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) { diff --git a/go/tests/FIXME/func/test_btreesearchitem.go b/go/tests/FIXME/func/test_btreesearchitem.go index 55a251dba..f364e97ad 100644 --- a/go/tests/FIXME/func/test_btreesearchitem.go +++ b/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, diff --git a/go/tests/FIXME/func/test_btreetransplant.go b/go/tests/FIXME/func/test_btreetransplant.go index bd4b0a9dc..d11660867 100644 --- a/go/tests/FIXME/func/test_btreetransplant.go +++ b/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 { diff --git a/go/tests/FIXME/func/test_changeorder.go b/go/tests/FIXME/func/test_changeorder.go index 49c77bae5..786dfe3d7 100644 --- a/go/tests/FIXME/func/test_changeorder.go +++ b/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 diff --git a/go/tests/FIXME/func/test_convertbase.go b/go/tests/FIXME/func/test_convertbase.go index 1392746df..86465f70f 100644 --- a/go/tests/FIXME/func/test_convertbase.go +++ b/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() { diff --git a/go/tests/FIXME/func/test_listat.go b/go/tests/FIXME/func/test_listat.go index 2c2528ef9..12904b045 100644 --- a/go/tests/FIXME/func/test_listat.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listclear.go b/go/tests/FIXME/func/test_listclear.go index 258bfac60..788bb7b28 100644 --- a/go/tests/FIXME/func/test_listclear.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listfind.go b/go/tests/FIXME/func/test_listfind.go index f7f4f9e09..03d569ff8 100644 --- a/go/tests/FIXME/func/test_listfind.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listforeach.go b/go/tests/FIXME/func/test_listforeach.go index 15f7f5f6c..723c63e78 100644 --- a/go/tests/FIXME/func/test_listforeach.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listforeachif.go b/go/tests/FIXME/func/test_listforeachif.go index 615aa2093..942401931 100644 --- a/go/tests/FIXME/func/test_listforeachif.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listlast.go b/go/tests/FIXME/func/test_listlast.go index 71200f82e..02d77e74e 100644 --- a/go/tests/FIXME/func/test_listlast.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listmerge.go b/go/tests/FIXME/func/test_listmerge.go index 7266c9d30..9616144d4 100644 --- a/go/tests/FIXME/func/test_listmerge.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listpushback.go b/go/tests/FIXME/func/test_listpushback.go index c7e53a447..9f6d13c86 100644 --- a/go/tests/FIXME/func/test_listpushback.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listpushfront.go b/go/tests/FIXME/func/test_listpushfront.go index c6add4c76..e2f4eda17 100644 --- a/go/tests/FIXME/func/test_listpushfront.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listremoveif.go b/go/tests/FIXME/func/test_listremoveif.go index a18a09858..72dc86d65 100644 --- a/go/tests/FIXME/func/test_listremoveif.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listreverse.go b/go/tests/FIXME/func/test_listreverse.go index 777d25134..77f2e5d34 100644 --- a/go/tests/FIXME/func/test_listreverse.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listsize.go b/go/tests/FIXME/func/test_listsize.go index 61a9b83dc..4cd90d75e 100644 --- a/go/tests/FIXME/func/test_listsize.go +++ b/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 diff --git a/go/tests/FIXME/func/test_listsort.go b/go/tests/FIXME/func/test_listsort.go index 20ffdc934..68f1b5f0b 100644 --- a/go/tests/FIXME/func/test_listsort.go +++ b/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 diff --git a/go/tests/FIXME/func/test_printnbrbase.go b/go/tests/FIXME/func/test_printnbrbase.go index d92045769..612ca5b7e 100644 --- a/go/tests/FIXME/func/test_printnbrbase.go +++ b/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() { diff --git a/go/tests/FIXME/func/test_sortedlistmerge.go b/go/tests/FIXME/func/test_sortedlistmerge.go index 238373638..0252252e1 100644 --- a/go/tests/FIXME/func/test_sortedlistmerge.go +++ b/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 diff --git a/go/tests/FIXME/func/test_sortlistinsert.go b/go/tests/FIXME/func/test_sortlistinsert.go index e1700a04e..d1609769f 100644 --- a/go/tests/FIXME/func/test_sortlistinsert.go +++ b/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 diff --git a/go/tests/FIXME/func/test_sortll.go b/go/tests/FIXME/func/test_sortll.go index c59cb4fc1..5cf9394a9 100644 --- a/go/tests/FIXME/func/test_sortll.go +++ b/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 diff --git a/go/tests/FIXME/prog/test_pilot.go b/go/tests/FIXME/prog/test_pilot.go index 1ee4884f7..f589f737d 100644 --- a/go/tests/FIXME/prog/test_pilot.go +++ b/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") diff --git a/go/tests/abort/main.go b/go/tests/abort/main.go index 198d4cece..d181f0554 100644 --- a/go/tests/abort/main.go +++ b/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 diff --git a/go/tests/activebits/main.go b/go/tests/activebits/main.go index 02fa17257..0a6b2d139 100644 --- a/go/tests/activebits/main.go +++ b/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) { diff --git a/go/tests/addprimesum/main.go b/go/tests/addprimesum/main.go index 8f1b7b231..0ab7920e6 100644 --- a/go/tests/addprimesum/main.go +++ b/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 { diff --git a/go/tests/advancedsortwordarr/main.go b/go/tests/advancedsortwordarr/main.go index 41e05f13d..652d4755c 100644 --- a/go/tests/advancedsortwordarr/main.go +++ b/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) { diff --git a/go/tests/alphacount/main.go b/go/tests/alphacount/main.go index 30e217325..e7d773531 100644 --- a/go/tests/alphacount/main.go +++ b/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) { diff --git a/go/tests/alphamirror/main.go b/go/tests/alphamirror/main.go index 008943b40..79ff17b8f 100644 --- a/go/tests/alphamirror/main.go +++ b/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{ diff --git a/go/tests/any/main.go b/go/tests/any/main.go index f61cc05a1..fa08b724d 100644 --- a/go/tests/any/main.go +++ b/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 { diff --git a/go/tests/appendrange/main.go b/go/tests/appendrange/main.go index 3ba1b06b9..10a631fbf 100644 --- a/go/tests/appendrange/main.go +++ b/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 diff --git a/go/tests/atoi/main.go b/go/tests/atoi/main.go index 7880b39ab..6cac8e084 100644 --- a/go/tests/atoi/main.go +++ b/go/tests/atoi/main.go @@ -4,6 +4,7 @@ import ( "strconv" "./student" + "github.com/01-edu/public/go/lib" ) func atoi(s string) int { diff --git a/go/tests/balancedstring/main.go b/go/tests/balancedstring/main.go index a25267650..1834c154a 100644 --- a/go/tests/balancedstring/main.go +++ b/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{ diff --git a/go/tests/basicatoi/main.go b/go/tests/basicatoi/main.go index 52834dee3..8a7feefb8 100644 --- a/go/tests/basicatoi/main.go +++ b/go/tests/basicatoi/main.go @@ -4,6 +4,7 @@ import ( "strconv" "./student" + "github.com/01-edu/public/go/lib" ) func basicAtoi(s string) int { diff --git a/go/tests/basicatoi2/main.go b/go/tests/basicatoi2/main.go index 223491814..ee75aeea1 100644 --- a/go/tests/basicatoi2/main.go +++ b/go/tests/basicatoi2/main.go @@ -4,6 +4,7 @@ import ( "strconv" "./student" + "github.com/01-edu/public/go/lib" ) func basicAtoi2(s string) int { diff --git a/go/tests/basicjoin/main.go b/go/tests/basicjoin/main.go index 6d01a1f8e..49386d90b 100644 --- a/go/tests/basicjoin/main.go +++ b/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 { diff --git a/go/tests/boolean/main.go b/go/tests/boolean/main.go index 11ec372c6..adb80f73d 100644 --- a/go/tests/boolean/main.go +++ b/go/tests/boolean/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/brackets/main.go b/go/tests/brackets/main.go index bf880ae8f..5c6d887f7 100644 --- a/go/tests/brackets/main.go +++ b/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{ diff --git a/go/tests/brainfuck/main.go b/go/tests/brainfuck/main.go index 0a7ecc867..682caa55d 100644 --- a/go/tests/brainfuck/main.go +++ b/go/tests/brainfuck/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/capitalize/main.go b/go/tests/capitalize/main.go index 614fe1f53..c57c6b2a8 100644 --- a/go/tests/capitalize/main.go +++ b/go/tests/capitalize/main.go @@ -5,6 +5,7 @@ import ( "unicode" "./student" + "github.com/01-edu/public/go/lib" ) func capitalize(s string) string { diff --git a/go/tests/cat/main.go b/go/tests/cat/main.go index e0c354ccc..a99f6efc5 100644 --- a/go/tests/cat/main.go +++ b/go/tests/cat/main.go @@ -6,7 +6,7 @@ import ( "os/exec" "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/chunk/main.go b/go/tests/chunk/main.go index 432848d92..424dbd94d 100644 --- a/go/tests/chunk/main.go +++ b/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) { diff --git a/go/tests/cleanstr/main.go b/go/tests/cleanstr/main.go index 631620297..e8d3cba98 100644 --- a/go/tests/cleanstr/main.go +++ b/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{ diff --git a/go/tests/collatzcountdown/main.go b/go/tests/collatzcountdown/main.go index 37b49624c..6abc2e40f 100644 --- a/go/tests/collatzcountdown/main.go +++ b/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 { diff --git a/go/tests/comcheck/main.go b/go/tests/comcheck/main.go index d3fea8e17..322d12b4d 100644 --- a/go/tests/comcheck/main.go +++ b/go/tests/comcheck/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/compact/main.go b/go/tests/compact/main.go index befbb5b58..856944bc7 100644 --- a/go/tests/compact/main.go +++ b/go/tests/compact/main.go @@ -4,6 +4,7 @@ import ( "reflect" "./student" + "github.com/01-edu/public/go/lib" ) func compact(slice *[]string) int { diff --git a/go/tests/compare/main.go b/go/tests/compare/main.go index 6e914a353..99bd2b343 100644 --- a/go/tests/compare/main.go +++ b/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 { diff --git a/go/tests/concat/main.go b/go/tests/concat/main.go index 3154b1f6a..7b224265c 100644 --- a/go/tests/concat/main.go +++ b/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 diff --git a/go/tests/concatparams/main.go b/go/tests/concatparams/main.go index 79ec69e12..84186975c 100644 --- a/go/tests/concatparams/main.go +++ b/go/tests/concatparams/main.go @@ -4,6 +4,7 @@ import ( "strings" "./student" + "github.com/01-edu/public/go/lib" ) func concatParams(args []string) string { diff --git a/go/tests/costumeprofit/main.go b/go/tests/costumeprofit/main.go index a192b6d00..6960a239a 100644 --- a/go/tests/costumeprofit/main.go +++ b/go/tests/costumeprofit/main.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) type node struct { diff --git a/go/tests/countdown/main.go b/go/tests/countdown/main.go index 2f0862b5b..8b74f0c68 100644 --- a/go/tests/countdown/main.go +++ b/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") diff --git a/go/tests/countif/main.go b/go/tests/countif/main.go index f1e6f4533..f3642f669 100644 --- a/go/tests/countif/main.go +++ b/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 { diff --git a/go/tests/displaya/main.go b/go/tests/displaya/main.go index 463022ea6..7eb3e0254 100644 --- a/go/tests/displaya/main.go +++ b/go/tests/displaya/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/displayalpham/main.go b/go/tests/displayalpham/main.go index a1573c332..61b6f08df 100644 --- a/go/tests/displayalpham/main.go +++ b/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") diff --git a/go/tests/displayalrevm/main.go b/go/tests/displayalrevm/main.go index 157fa63c1..d8753c4c5 100644 --- a/go/tests/displayalrevm/main.go +++ b/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") diff --git a/go/tests/displayfile/main.go b/go/tests/displayfile/main.go index 868de3285..2c7cc156d 100644 --- a/go/tests/displayfile/main.go +++ b/go/tests/displayfile/main.go @@ -4,7 +4,7 @@ import ( "os" "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/displayfirstparam/main.go b/go/tests/displayfirstparam/main.go index 1f59c521b..f3a2c59d2 100644 --- a/go/tests/displayfirstparam/main.go +++ b/go/tests/displayfirstparam/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/displaylastparam/main.go b/go/tests/displaylastparam/main.go index 70ac2d572..93c9e6c46 100644 --- a/go/tests/displaylastparam/main.go +++ b/go/tests/displaylastparam/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/displayz/main.go b/go/tests/displayz/main.go index 46d2a1db6..b09a86846 100644 --- a/go/tests/displayz/main.go +++ b/go/tests/displayz/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/divmod/main.go b/go/tests/divmod/main.go index fba0e85df..5535c7f52 100644 --- a/go/tests/divmod/main.go +++ b/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 diff --git a/go/tests/doop/main.go b/go/tests/doop/main.go index 29b71e5ef..f76c05d69 100644 --- a/go/tests/doop/main.go +++ b/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() { diff --git a/go/tests/doppelganger/main.go b/go/tests/doppelganger/main.go index 162a40787..e6c89b96d 100644 --- a/go/tests/doppelganger/main.go +++ b/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 { diff --git a/go/tests/eightqueens/main.go b/go/tests/eightqueens/main.go index 00126b88f..fabc544f6 100644 --- a/go/tests/eightqueens/main.go +++ b/go/tests/eightqueens/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) const size = 8 diff --git a/go/tests/enigma/main.go b/go/tests/enigma/main.go index 46520b2ed..c6246964a 100644 --- a/go/tests/enigma/main.go +++ b/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) { diff --git a/go/tests/expandstr/main.go b/go/tests/expandstr/main.go index 4e8b01c8a..cf9b26008 100644 --- a/go/tests/expandstr/main.go +++ b/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{ diff --git a/go/tests/fib/main.go b/go/tests/fib/main.go index 09ff25475..f7bd0a9f5 100644 --- a/go/tests/fib/main.go +++ b/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 { diff --git a/go/tests/fibonacci/main.go b/go/tests/fibonacci/main.go index f14dc79fa..b92c00935 100644 --- a/go/tests/fibonacci/main.go +++ b/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 { diff --git a/go/tests/findnextprime/main.go b/go/tests/findnextprime/main.go index b8a2a37fb..31bcf72d0 100644 --- a/go/tests/findnextprime/main.go +++ b/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 { diff --git a/go/tests/findprevprime/main.go b/go/tests/findprevprime/main.go index 1d3fccbda..58404d79c 100644 --- a/go/tests/findprevprime/main.go +++ b/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 { diff --git a/go/tests/firstrune/main.go b/go/tests/firstrune/main.go index 9d5524968..39ca9433d 100644 --- a/go/tests/firstrune/main.go +++ b/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) diff --git a/go/tests/firstword/main.go b/go/tests/firstword/main.go index 5487e79fa..3f7191e95 100644 --- a/go/tests/firstword/main.go +++ b/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(), diff --git a/go/tests/fixthemain/main.go b/go/tests/fixthemain/main.go index 27b6bb3d2..e9caa929e 100644 --- a/go/tests/fixthemain/main.go +++ b/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") diff --git a/go/tests/flags/main.go b/go/tests/flags/main.go index ae11be37f..654a8b382 100644 --- a/go/tests/flags/main.go +++ b/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 diff --git a/go/tests/foldint/main.go b/go/tests/foldint/main.go index 3061cb5ba..d88a82ed9 100644 --- a/go/tests/foldint/main.go +++ b/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) { diff --git a/go/tests/foreach/main.go b/go/tests/foreach/main.go index ca0083819..d3263d483 100644 --- a/go/tests/foreach/main.go +++ b/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) { diff --git a/go/tests/fprime/main.go b/go/tests/fprime/main.go index 07cc78252..5858d9ddf 100644 --- a/go/tests/fprime/main.go +++ b/go/tests/fprime/main.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/game23/main.go b/go/tests/game23/main.go index 89ce705b7..61f3be03e 100644 --- a/go/tests/game23/main.go +++ b/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 { diff --git a/go/tests/gcd/main.go b/go/tests/gcd/main.go index 106917aea..b709a7d9e 100644 --- a/go/tests/gcd/main.go +++ b/go/tests/gcd/main.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/grouping/main.go b/go/tests/grouping/main.go index d08be83a1..47b9882d1 100644 --- a/go/tests/grouping/main.go +++ b/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 := "(" diff --git a/go/tests/halfcontest/main.go b/go/tests/halfcontest/main.go index fcf0ec13f..cd23a506b 100644 --- a/go/tests/halfcontest/main.go +++ b/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 diff --git a/go/tests/hello/main.go b/go/tests/hello/main.go index 3ccedd55e..c00a46592 100644 --- a/go/tests/hello/main.go +++ b/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") diff --git a/go/tests/hiddenp/main.go b/go/tests/hiddenp/main.go index f97f991cf..2e458a860 100644 --- a/go/tests/hiddenp/main.go +++ b/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{ diff --git a/go/tests/index/main.go b/go/tests/index/main.go index 24c475635..e2844626a 100644 --- a/go/tests/index/main.go +++ b/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 { diff --git a/go/tests/inter/main.go b/go/tests/inter/main.go index 16b35aa35..b3611b58e 100644 --- a/go/tests/inter/main.go +++ b/go/tests/inter/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/interestingnumber/main.go b/go/tests/interestingnumber/main.go index 159c7e2f6..72840b570 100644 --- a/go/tests/interestingnumber/main.go +++ b/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 diff --git a/go/tests/isalpha/main.go b/go/tests/isalpha/main.go index 977b8b2db..828fb26a3 100644 --- a/go/tests/isalpha/main.go +++ b/go/tests/isalpha/main.go @@ -4,6 +4,7 @@ import ( "unicode" "./student" + "github.com/01-edu/public/go/lib" ) func isAlpha(s string) bool { diff --git a/go/tests/isanagram/main.go b/go/tests/isanagram/main.go index 38e4ca747..6e483b72a 100644 --- a/go/tests/isanagram/main.go +++ b/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) diff --git a/go/tests/islower/main.go b/go/tests/islower/main.go index 63dc01577..4af520b9c 100644 --- a/go/tests/islower/main.go +++ b/go/tests/islower/main.go @@ -3,6 +3,7 @@ package main import ( "../common" "./student" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/isnegative/main.go b/go/tests/isnegative/main.go index 43d4bd8a3..f91520136 100644 --- a/go/tests/isnegative/main.go +++ b/go/tests/isnegative/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func isNegative(n int) { diff --git a/go/tests/isnumeric/main.go b/go/tests/isnumeric/main.go index 48480c321..2e5b39255 100644 --- a/go/tests/isnumeric/main.go +++ b/go/tests/isnumeric/main.go @@ -5,6 +5,7 @@ import ( "../common" "./student" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/ispowerof2/main.go b/go/tests/ispowerof2/main.go index 53c46f5a8..a3a8d8bfc 100644 --- a/go/tests/ispowerof2/main.go +++ b/go/tests/ispowerof2/main.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/isprime/main.go b/go/tests/isprime/main.go index ede62bba3..159d05da2 100644 --- a/go/tests/isprime/main.go +++ b/go/tests/isprime/main.go @@ -3,6 +3,7 @@ package main import ( "../common" "./student" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/isprintable/main.go b/go/tests/isprintable/main.go index 9b724403b..37aa2b339 100644 --- a/go/tests/isprintable/main.go +++ b/go/tests/isprintable/main.go @@ -5,6 +5,7 @@ import ( "unicode" "./student" + "github.com/01-edu/public/go/lib" ) func isPrintable(s string) bool { diff --git a/go/tests/issorted/main.go b/go/tests/issorted/main.go index 319ccba0e..0a40d79d5 100644 --- a/go/tests/issorted/main.go +++ b/go/tests/issorted/main.go @@ -4,6 +4,7 @@ import ( "sort" "./student" + "github.com/01-edu/public/go/lib" ) func isSorted(f func(int, int) int, arr []int) bool { diff --git a/go/tests/isupper/main.go b/go/tests/isupper/main.go index 81da9f647..01bf963a1 100644 --- a/go/tests/isupper/main.go +++ b/go/tests/isupper/main.go @@ -3,6 +3,7 @@ package main import ( "../common" "./student" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/iterativefactorial/main.go b/go/tests/iterativefactorial/main.go index 59be1e092..59821d074 100644 --- a/go/tests/iterativefactorial/main.go +++ b/go/tests/iterativefactorial/main.go @@ -4,6 +4,7 @@ import ( "math/bits" "./student" + "github.com/01-edu/public/go/lib" ) func iterativeFactorial(nb int) int { diff --git a/go/tests/iterativepower/main.go b/go/tests/iterativepower/main.go index b379c9aa3..d332fb82a 100644 --- a/go/tests/iterativepower/main.go +++ b/go/tests/iterativepower/main.go @@ -4,6 +4,7 @@ import ( "math" "./student" + "github.com/01-edu/public/go/lib" ) func iterativePower(nb int, power int) int { diff --git a/go/tests/itoa/main.go b/go/tests/itoa/main.go index 26ff3f175..5fa81244a 100644 --- a/go/tests/itoa/main.go +++ b/go/tests/itoa/main.go @@ -4,6 +4,7 @@ import ( "strconv" "./student" + "github.com/01-edu/public/go/lib" ) func itoa(i int) string { diff --git a/go/tests/itoabase/main.go b/go/tests/itoabase/main.go index f86ac0503..490bcf67b 100644 --- a/go/tests/itoabase/main.go +++ b/go/tests/itoabase/main.go @@ -5,6 +5,7 @@ import ( "strings" "./student" + "github.com/01-edu/public/go/lib" ) func itoaBase(value, base int) string { diff --git a/go/tests/join/main.go b/go/tests/join/main.go index e7cc0a788..8d3efc316 100644 --- a/go/tests/join/main.go +++ b/go/tests/join/main.go @@ -4,6 +4,7 @@ import ( "strings" "./student" + "github.com/01-edu/public/go/lib" ) func join(elems []string, sep string) string { diff --git a/go/tests/lastrune/main.go b/go/tests/lastrune/main.go index e9715ec08..1d35bb998 100644 --- a/go/tests/lastrune/main.go +++ b/go/tests/lastrune/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func lastRune(s string) rune { runes := []rune(s) diff --git a/go/tests/lastword/main.go b/go/tests/lastword/main.go index be5de0ae4..797ee916f 100644 --- a/go/tests/lastword/main.go +++ b/go/tests/lastword/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { args := []string{ diff --git a/go/tests/lcm/main.go b/go/tests/lcm/main.go index 187d01170..1961680d5 100644 --- a/go/tests/lcm/main.go +++ b/go/tests/lcm/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func gcd(first, second int) int { if second == 0 { diff --git a/go/tests/makerange/main.go b/go/tests/makerange/main.go index 7b59cf3f0..03d03ea75 100644 --- a/go/tests/makerange/main.go +++ b/go/tests/makerange/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func makeRange(min, max int) []int { size := max - min diff --git a/go/tests/map/main.go b/go/tests/map/main.go index 211a38b09..758f74e14 100644 --- a/go/tests/map/main.go +++ b/go/tests/map/main.go @@ -3,6 +3,7 @@ package main import ( "../common" "./student" + "github.com/01-edu/public/go/lib" ) func isPositive(i int) bool { diff --git a/go/tests/max/main.go b/go/tests/max/main.go index d9fe5d41b..ac62ab0b5 100644 --- a/go/tests/max/main.go +++ b/go/tests/max/main.go @@ -4,6 +4,7 @@ import ( "sort" "./student" + "github.com/01-edu/public/go/lib" ) func max(a []int) int { diff --git a/go/tests/nauuo/main.go b/go/tests/nauuo/main.go index 56cd1dfda..c6e518e70 100644 --- a/go/tests/nauuo/main.go +++ b/go/tests/nauuo/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func nauuo(plus, minus, rand int) string { if rand == 0 { diff --git a/go/tests/nbrconvertalpha/main.go b/go/tests/nbrconvertalpha/main.go index 9c7a12c19..658a2a35d 100644 --- a/go/tests/nbrconvertalpha/main.go +++ b/go/tests/nbrconvertalpha/main.go @@ -4,7 +4,7 @@ import ( "strconv" "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/nenokku/main.go b/go/tests/nenokku/main.go index da32c4a7e..0ca34a215 100644 --- a/go/tests/nenokku/main.go +++ b/go/tests/nenokku/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { table := [][]string{{ diff --git a/go/tests/nrune/main.go b/go/tests/nrune/main.go index dc7462ba7..21a143e8e 100644 --- a/go/tests/nrune/main.go +++ b/go/tests/nrune/main.go @@ -4,6 +4,7 @@ import ( "math/rand" "./student" + "github.com/01-edu/public/go/lib" ) func nRune(s string, n int) rune { diff --git a/go/tests/onlya/main.go b/go/tests/onlya/main.go index a7349d6ba..11ba9ace0 100644 --- a/go/tests/onlya/main.go +++ b/go/tests/onlya/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { lib.ChallengeMain("onlya") diff --git a/go/tests/onlyz/main.go b/go/tests/onlyz/main.go index aba89342b..d4e900a86 100644 --- a/go/tests/onlyz/main.go +++ b/go/tests/onlyz/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { lib.ChallengeMain("onlyz") diff --git a/go/tests/options/main.go b/go/tests/options/main.go index 23cceb0d6..60856ba18 100644 --- a/go/tests/options/main.go +++ b/go/tests/options/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/paramcount/main.go b/go/tests/paramcount/main.go index 6aad41965..5043854b8 100644 --- a/go/tests/paramcount/main.go +++ b/go/tests/paramcount/main.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/piglatin/main.go b/go/tests/piglatin/main.go index c1442a3b0..ecdfebf0f 100644 --- a/go/tests/piglatin/main.go +++ b/go/tests/piglatin/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { args := [][]string{ diff --git a/go/tests/point/main.go b/go/tests/point/main.go index 3b4c33e10..8b325ccd1 100644 --- a/go/tests/point/main.go +++ b/go/tests/point/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { lib.ChallengeMain("point") diff --git a/go/tests/pointone/main.go b/go/tests/pointone/main.go index 49fd3adf5..aa723d4b3 100644 --- a/go/tests/pointone/main.go +++ b/go/tests/pointone/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func PointOne(n *int) { *n = 1 diff --git a/go/tests/printalphabet/main.go b/go/tests/printalphabet/main.go index 3da02dbf9..2014b88d6 100644 --- a/go/tests/printalphabet/main.go +++ b/go/tests/printalphabet/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { lib.ChallengeMain("printalphabet") diff --git a/go/tests/printbits/main.go b/go/tests/printbits/main.go index 172512832..fa888f0bc 100644 --- a/go/tests/printbits/main.go +++ b/go/tests/printbits/main.go @@ -4,7 +4,7 @@ import ( "strconv" "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/printchessboard/main.go b/go/tests/printchessboard/main.go index 47287e576..7b2cb3886 100644 --- a/go/tests/printchessboard/main.go +++ b/go/tests/printchessboard/main.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/printcomb/main.go b/go/tests/printcomb/main.go index a15abc11e..49042e7c6 100644 --- a/go/tests/printcomb/main.go +++ b/go/tests/printcomb/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func printComb() { diff --git a/go/tests/printcomb2/main.go b/go/tests/printcomb2/main.go index c31ad6314..4a9eca189 100644 --- a/go/tests/printcomb2/main.go +++ b/go/tests/printcomb2/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func printComb2() { diff --git a/go/tests/printcombn/main.go b/go/tests/printcombn/main.go index f1c953bd9..3f8dbceb6 100644 --- a/go/tests/printcombn/main.go +++ b/go/tests/printcombn/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func show(n int, table [9]int, tmax [9]int) { diff --git a/go/tests/printdigits/main.go b/go/tests/printdigits/main.go index 9ae2a19b9..7426a4c54 100644 --- a/go/tests/printdigits/main.go +++ b/go/tests/printdigits/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { lib.ChallengeMain("printdigits") diff --git a/go/tests/printhex/main.go b/go/tests/printhex/main.go index 1459dacfd..71eb5f3f7 100644 --- a/go/tests/printhex/main.go +++ b/go/tests/printhex/main.go @@ -4,7 +4,7 @@ import ( "strconv" "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/printmemory/main.go b/go/tests/printmemory/main.go index 2345b17a8..b8ea7400e 100644 --- a/go/tests/printmemory/main.go +++ b/go/tests/printmemory/main.go @@ -5,6 +5,7 @@ import ( "unicode" "./student" + "github.com/01-edu/public/go/lib" ) func printBase(nbr int) int { diff --git a/go/tests/printnbr/main.go b/go/tests/printnbr/main.go index c3d45bd02..924b28ee2 100644 --- a/go/tests/printnbr/main.go +++ b/go/tests/printnbr/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func printNbr(n int) { diff --git a/go/tests/printnbrinorder/main.go b/go/tests/printnbrinorder/main.go index 2b2f8bfc8..449145a05 100644 --- a/go/tests/printnbrinorder/main.go +++ b/go/tests/printnbrinorder/main.go @@ -5,6 +5,7 @@ import ( "sort" "./student" + "github.com/01-edu/public/go/lib" ) func intToDigits(n int) (digits []int) { diff --git a/go/tests/printparams/main.go b/go/tests/printparams/main.go index a4f4976e6..4a1542039 100644 --- a/go/tests/printparams/main.go +++ b/go/tests/printparams/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/printprogramname/main.go b/go/tests/printprogramname/main.go index 9c82763b1..4a955d231 100644 --- a/go/tests/printprogramname/main.go +++ b/go/tests/printprogramname/main.go @@ -4,7 +4,7 @@ import ( "os" "os/exec" - "../lib" + "github.com/01-edu/public/go/lib" ) var name = "student" diff --git a/go/tests/printrevcomb/main.go b/go/tests/printrevcomb/main.go index e7daf9da5..868803b41 100644 --- a/go/tests/printrevcomb/main.go +++ b/go/tests/printrevcomb/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { lib.ChallengeMain("printrevcomb") diff --git a/go/tests/printreversealphabet/main.go b/go/tests/printreversealphabet/main.go index a9a6e683e..b9a5cc4db 100644 --- a/go/tests/printreversealphabet/main.go +++ b/go/tests/printreversealphabet/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { lib.ChallengeMain("printreversealphabet") diff --git a/go/tests/printstr/main.go b/go/tests/printstr/main.go index 19030cccd..5876ab0b3 100644 --- a/go/tests/printstr/main.go +++ b/go/tests/printstr/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func printStr(s string) { diff --git a/go/tests/printwordstables/main.go b/go/tests/printwordstables/main.go index 92f5b8184..fbddf5334 100644 --- a/go/tests/printwordstables/main.go +++ b/go/tests/printwordstables/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func printWordsTables(a []string) { diff --git a/go/tests/priorprime/main.go b/go/tests/priorprime/main.go index 28b229ed0..50c9504ad 100644 --- a/go/tests/priorprime/main.go +++ b/go/tests/priorprime/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func priorPrime(x int) int { ans := 0 diff --git a/go/tests/raid1a/main.go b/go/tests/raid1a/main.go index 60aa55712..dc6ed530d 100644 --- a/go/tests/raid1a/main.go +++ b/go/tests/raid1a/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func drawLine(x int, s string) { diff --git a/go/tests/raid1b/main.go b/go/tests/raid1b/main.go index b1266e5fd..d9001bbf8 100644 --- a/go/tests/raid1b/main.go +++ b/go/tests/raid1b/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func drawLineRaid1b(x int, s string) { diff --git a/go/tests/raid1c/main.go b/go/tests/raid1c/main.go index 3334a95be..556d07a0a 100644 --- a/go/tests/raid1c/main.go +++ b/go/tests/raid1c/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func drawLineRaid1c(x int, s string) { diff --git a/go/tests/raid1d/main.go b/go/tests/raid1d/main.go index 6c1b1cf28..9fb10cabf 100644 --- a/go/tests/raid1d/main.go +++ b/go/tests/raid1d/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func drawLineRaid1d(x int, s string) { diff --git a/go/tests/raid1e/main.go b/go/tests/raid1e/main.go index ca71e8288..a85c97cde 100644 --- a/go/tests/raid1e/main.go +++ b/go/tests/raid1e/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func drawLineRaid1e(x int, s string) { diff --git a/go/tests/raid2/main.go b/go/tests/raid2/main.go index 8898abe85..a4c5f6461 100644 --- a/go/tests/raid2/main.go +++ b/go/tests/raid2/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { valid := [][]string{ diff --git a/go/tests/raid3/main.go b/go/tests/raid3/main.go index 8cedb29f4..52941139b 100644 --- a/go/tests/raid3/main.go +++ b/go/tests/raid3/main.go @@ -4,7 +4,7 @@ import ( "os/exec" "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/range/main.go b/go/tests/range/main.go index efb83b7bb..2939dbb08 100644 --- a/go/tests/range/main.go +++ b/go/tests/range/main.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/reachablenumber/main.go b/go/tests/reachablenumber/main.go index 018685f9d..eb1e3da69 100644 --- a/go/tests/reachablenumber/main.go +++ b/go/tests/reachablenumber/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func reachableNumber(n int) int { cnt := 0 diff --git a/go/tests/rectangle/main.go b/go/tests/rectangle/main.go index 8186a9cfb..a0522ad6d 100644 --- a/go/tests/rectangle/main.go +++ b/go/tests/rectangle/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { lib.ChallengeMain("rectangle") diff --git a/go/tests/recursivefactorial/main.go b/go/tests/recursivefactorial/main.go index e62296c89..98ae8f6de 100644 --- a/go/tests/recursivefactorial/main.go +++ b/go/tests/recursivefactorial/main.go @@ -4,6 +4,7 @@ import ( "math/bits" "./student" + "github.com/01-edu/public/go/lib" ) func recursiveFactorial(nb int) int { diff --git a/go/tests/recursivepower/main.go b/go/tests/recursivepower/main.go index e3c649e8b..4c595883c 100644 --- a/go/tests/recursivepower/main.go +++ b/go/tests/recursivepower/main.go @@ -4,6 +4,7 @@ import ( "math" "./student" + "github.com/01-edu/public/go/lib" ) func recursivePower(nb, power int) int { diff --git a/go/tests/reduceint/main.go b/go/tests/reduceint/main.go index 97a485ac0..57d50b717 100644 --- a/go/tests/reduceint/main.go +++ b/go/tests/reduceint/main.go @@ -4,6 +4,7 @@ import ( "fmt" "./student" + "github.com/01-edu/public/go/lib" ) func reduceInt(f func(int, int) int, a []int) { diff --git a/go/tests/repeatalpha/main.go b/go/tests/repeatalpha/main.go index 39ef3e397..9193f5de6 100644 --- a/go/tests/repeatalpha/main.go +++ b/go/tests/repeatalpha/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { args := []string{ diff --git a/go/tests/reversebits/main.go b/go/tests/reversebits/main.go index ed91bfd5a..351c59775 100644 --- a/go/tests/reversebits/main.go +++ b/go/tests/reversebits/main.go @@ -4,8 +4,8 @@ import ( "math/bits" "reflect" - "../lib" "./student" + "github.com/01-edu/public/go/lib" ) func reverseBits(octet byte) byte { diff --git a/go/tests/reverserange/main.go b/go/tests/reverserange/main.go index 2af69b2f2..b23126b00 100644 --- a/go/tests/reverserange/main.go +++ b/go/tests/reverserange/main.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/reversestrcap/main.go b/go/tests/reversestrcap/main.go index f3cf1235f..c9198ae78 100644 --- a/go/tests/reversestrcap/main.go +++ b/go/tests/reversestrcap/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { args := [][]string{ diff --git a/go/tests/revivethreenums/main.go b/go/tests/revivethreenums/main.go index 54f8ea579..104bc6216 100644 --- a/go/tests/revivethreenums/main.go +++ b/go/tests/revivethreenums/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func more(a, b int) int { if a < b { diff --git a/go/tests/revparams/main.go b/go/tests/revparams/main.go index 58654b73c..413c78cbd 100644 --- a/go/tests/revparams/main.go +++ b/go/tests/revparams/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { lib.ChallengeMain("revparams", "choumi", "is", "the", "best", "cat") diff --git a/go/tests/revwstr/main.go b/go/tests/revwstr/main.go index b20eb9cbe..f0f54aed3 100644 --- a/go/tests/revwstr/main.go +++ b/go/tests/revwstr/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { table := []string{ diff --git a/go/tests/robottoorigin/main.go b/go/tests/robottoorigin/main.go index 8f2eab337..794c7db38 100644 --- a/go/tests/robottoorigin/main.go +++ b/go/tests/robottoorigin/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { table := []string{ diff --git a/go/tests/romannumbers/main.go b/go/tests/romannumbers/main.go index ef8f706ae..5eb88aa7e 100644 --- a/go/tests/romannumbers/main.go +++ b/go/tests/romannumbers/main.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/rostring/main.go b/go/tests/rostring/main.go index 9c225a9ed..2604786d9 100644 --- a/go/tests/rostring/main.go +++ b/go/tests/rostring/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { args := []string{ diff --git a/go/tests/rot13/main.go b/go/tests/rot13/main.go index 860a173fe..c2aee3f02 100644 --- a/go/tests/rot13/main.go +++ b/go/tests/rot13/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { table := append(lib.MultRandWords(), diff --git a/go/tests/rot14/main.go b/go/tests/rot14/main.go index 0ff8652f7..b3aeae277 100644 --- a/go/tests/rot14/main.go +++ b/go/tests/rot14/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func rot14(s string) (result string) { for _, r := range s { diff --git a/go/tests/rotatevowels/main.go b/go/tests/rotatevowels/main.go index a4c2442c9..db9f57b3a 100644 --- a/go/tests/rotatevowels/main.go +++ b/go/tests/rotatevowels/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/rpncalc/main.go b/go/tests/rpncalc/main.go index 99addaadc..1458cf12f 100644 --- a/go/tests/rpncalc/main.go +++ b/go/tests/rpncalc/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { args := []string{ diff --git a/go/tests/searchreplace/main.go b/go/tests/searchreplace/main.go index 22b6afe69..4dcae8aa9 100644 --- a/go/tests/searchreplace/main.go +++ b/go/tests/searchreplace/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { type nodeTest struct { diff --git a/go/tests/slice/main.go b/go/tests/slice/main.go index a7f7bfd03..59c27221e 100644 --- a/go/tests/slice/main.go +++ b/go/tests/slice/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func ifNegative(a []string, n int) int { if n < 0 { diff --git a/go/tests/sortintegertable/main.go b/go/tests/sortintegertable/main.go index ca5522b31..9eb8c410d 100644 --- a/go/tests/sortintegertable/main.go +++ b/go/tests/sortintegertable/main.go @@ -5,6 +5,7 @@ import ( "sort" "./student" + "github.com/01-edu/public/go/lib" ) func sortIntegerTable(a []int) { diff --git a/go/tests/sortparams/main.go b/go/tests/sortparams/main.go index 7278e3612..8b663fc67 100644 --- a/go/tests/sortparams/main.go +++ b/go/tests/sortparams/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { lib.ChallengeMain("sortparams", lib.MultRandWords()...) diff --git a/go/tests/sortwordarr/main.go b/go/tests/sortwordarr/main.go index d59c552f9..bc2312fda 100644 --- a/go/tests/sortwordarr/main.go +++ b/go/tests/sortwordarr/main.go @@ -5,6 +5,7 @@ import ( "sort" "./student" + "github.com/01-edu/public/go/lib" ) func sortWordArr(a []string) { diff --git a/go/tests/split/main.go b/go/tests/split/main.go index 91a7b7709..a9e9c785e 100644 --- a/go/tests/split/main.go +++ b/go/tests/split/main.go @@ -5,6 +5,7 @@ import ( "strings" "./student" + "github.com/01-edu/public/go/lib" ) func split(s, sep string) []string { diff --git a/go/tests/splitwhitespaces/main.go b/go/tests/splitwhitespaces/main.go index 807df7201..043018c11 100644 --- a/go/tests/splitwhitespaces/main.go +++ b/go/tests/splitwhitespaces/main.go @@ -4,6 +4,7 @@ import ( "strings" "./student" + "github.com/01-edu/public/go/lib" ) func splitWhiteSpaces(s string) []string { diff --git a/go/tests/sqrt/main.go b/go/tests/sqrt/main.go index 708a40492..4b5cb2da8 100644 --- a/go/tests/sqrt/main.go +++ b/go/tests/sqrt/main.go @@ -4,6 +4,7 @@ import ( "math" "./student" + "github.com/01-edu/public/go/lib" ) func sqrt(value int) int { diff --git a/go/tests/strlen/main.go b/go/tests/strlen/main.go index 9a5a5ec89..93a508291 100644 --- a/go/tests/strlen/main.go +++ b/go/tests/strlen/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func strLen(str string) int { len := 0 diff --git a/go/tests/strrev/main.go b/go/tests/strrev/main.go index e52e3bdd9..ae8557c87 100644 --- a/go/tests/strrev/main.go +++ b/go/tests/strrev/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func strRev(s string) string { runes := []rune(s) diff --git a/go/tests/swap/main.go b/go/tests/swap/main.go index ef10a57fc..a3a51972b 100644 --- a/go/tests/swap/main.go +++ b/go/tests/swap/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func Swap(a, b *int) { *a, *b = *b, *a diff --git a/go/tests/swapbits/main.go b/go/tests/swapbits/main.go index afcb9cabd..af7ae8a38 100644 --- a/go/tests/swapbits/main.go +++ b/go/tests/swapbits/main.go @@ -4,6 +4,7 @@ import ( "reflect" "./student" + "github.com/01-edu/public/go/lib" ) func swapBits(n byte) byte { diff --git a/go/tests/sweetproblem/main.go b/go/tests/sweetproblem/main.go index 0507d48c6..0b6d8dc29 100644 --- a/go/tests/sweetproblem/main.go +++ b/go/tests/sweetproblem/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func min3(a, b, c int) int { if a <= b && a <= c { diff --git a/go/tests/switchcase/main.go b/go/tests/switchcase/main.go index d45d8685e..925399705 100644 --- a/go/tests/switchcase/main.go +++ b/go/tests/switchcase/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { table := append(lib.MultRandWords(), diff --git a/go/tests/tabmult/main.go b/go/tests/tabmult/main.go index bac11f84e..9c8994962 100644 --- a/go/tests/tabmult/main.go +++ b/go/tests/tabmult/main.go @@ -3,7 +3,7 @@ package main import ( "strconv" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/tetrisoptimizer/main.go b/go/tests/tetrisoptimizer/main.go index e2f8fe16a..f518c800e 100644 --- a/go/tests/tetrisoptimizer/main.go +++ b/go/tests/tetrisoptimizer/main.go @@ -12,7 +12,7 @@ import ( "strings" "time" - "../lib" + "github.com/01-edu/public/go/lib" ) type ( diff --git a/go/tests/tolower/main.go b/go/tests/tolower/main.go index 6444acaac..d5b3a5631 100644 --- a/go/tests/tolower/main.go +++ b/go/tests/tolower/main.go @@ -4,6 +4,7 @@ import ( "strings" "./student" + "github.com/01-edu/public/go/lib" ) func toLower(s string) string { diff --git a/go/tests/toupper/main.go b/go/tests/toupper/main.go index b7bd7b0eb..a26de2628 100644 --- a/go/tests/toupper/main.go +++ b/go/tests/toupper/main.go @@ -4,6 +4,7 @@ import ( "strings" "./student" + "github.com/01-edu/public/go/lib" ) func toUpper(s string) string { diff --git a/go/tests/trimatoi/main.go b/go/tests/trimatoi/main.go index 9292346e5..9b57f8016 100644 --- a/go/tests/trimatoi/main.go +++ b/go/tests/trimatoi/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func trimAtoi(str string) int { chars := []rune(str) diff --git a/go/tests/twosum/main.go b/go/tests/twosum/main.go index 3e9232140..69b0379be 100644 --- a/go/tests/twosum/main.go +++ b/go/tests/twosum/main.go @@ -4,6 +4,7 @@ import ( "math/rand" "./student" + "github.com/01-edu/public/go/lib" ) func twoSum(nums []int, target int) []int { diff --git a/go/tests/ultimatedivmod/main.go b/go/tests/ultimatedivmod/main.go index 32083749f..1e93068a2 100644 --- a/go/tests/ultimatedivmod/main.go +++ b/go/tests/ultimatedivmod/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func UltimateDivMod(a, b *int) { temp := *a diff --git a/go/tests/ultimatepointone/main.go b/go/tests/ultimatepointone/main.go index 9abac9902..6404d05f5 100644 --- a/go/tests/ultimatepointone/main.go +++ b/go/tests/ultimatepointone/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func UltimatePointOne(n ***int) { ***n = 1 diff --git a/go/tests/union/main.go b/go/tests/union/main.go index 653d0182c..8550d6023 100644 --- a/go/tests/union/main.go +++ b/go/tests/union/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() { diff --git a/go/tests/uniqueoccurences/main.go b/go/tests/uniqueoccurences/main.go index f346724e0..59616d0b3 100644 --- a/go/tests/uniqueoccurences/main.go +++ b/go/tests/uniqueoccurences/main.go @@ -1,6 +1,8 @@ package main -import "../lib" +import ( + "github.com/01-edu/public/go/lib" +) func main() { table := []string{ diff --git a/go/tests/unmatch/main.go b/go/tests/unmatch/main.go index 00ca05e89..05e907d6f 100644 --- a/go/tests/unmatch/main.go +++ b/go/tests/unmatch/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) // Returns the element of the slice that doesn't have a correspondant pair func unmatch(arr []int) int { diff --git a/go/tests/volumechanger/main.go b/go/tests/volumechanger/main.go index c672a1c27..5a6eb16d2 100644 --- a/go/tests/volumechanger/main.go +++ b/go/tests/volumechanger/main.go @@ -1,6 +1,9 @@ package main -import "./student" +import ( + "./student" + "github.com/01-edu/public/go/lib" +) func abs(a int) int { if a < 0 { diff --git a/go/tests/wdmatch/main.go b/go/tests/wdmatch/main.go index 320a5cf70..861da8f4d 100644 --- a/go/tests/wdmatch/main.go +++ b/go/tests/wdmatch/main.go @@ -3,7 +3,7 @@ package main import ( "strings" - "../lib" + "github.com/01-edu/public/go/lib" ) func main() {