build: separate compiler and libs
This commit is contained in:
15
compiler/cl/_testlibgo/bytes/in.go
Normal file
15
compiler/cl/_testlibgo/bytes/in.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
)
|
||||
|
||||
func main() {
|
||||
var b bytes.Buffer // A Buffer needs no initialization.
|
||||
b.Write([]byte("Hello "))
|
||||
b.WriteString("World")
|
||||
|
||||
println("buf", b.Bytes(), b.String())
|
||||
|
||||
println(bytes.EqualFold([]byte("Go"), []byte("go")))
|
||||
}
|
||||
Reference in New Issue
Block a user