Ajout du répertoire test dans .gitignore
This commit is contained in:
parent
8bf49d9e03
commit
53d7e6c217
|
@ -21,3 +21,4 @@
|
||||||
# Go workspace file
|
# Go workspace file
|
||||||
go.work
|
go.work
|
||||||
|
|
||||||
|
test
|
||||||
|
|
12
test/main.go
12
test/main.go
|
@ -1,12 +0,0 @@
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
a := []int{1, 2, 3}
|
|
||||||
fmt.Println(a)
|
|
||||||
clear(a)
|
|
||||||
fmt.Println(a)
|
|
||||||
}
|
|
Loading…
Reference in New Issue