state mutex
This commit is contained in:
12
src/051-bytes/bytes.go
Normal file
12
src/051-bytes/bytes.go
Normal file
@@ -0,0 +1,12 @@
|
||||
// ## Bytes
|
||||
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
arr := []byte("some bytes")
|
||||
str := string([]byte{'a', ' ', 's', 't', 'r', 'i', 'n', 'g'})
|
||||
fmt.Println(arr)
|
||||
fmt.Println(str)
|
||||
}
|
||||
Reference in New Issue
Block a user