Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (15 sloc) 0.232 kb
package main
import (
"fmt"
"bytes"
)
func main() {
nl := "\n"
bnl := []byte("\n")
bsnl := []byte(nl)
r := bytes.Compare(bnl, bsnl)
fmt.Println("bytes.Compare",r)
a := byte('\n')
b := byte('\n')
fmt.Println(a == b)
}
Jump to Line
Something went wrong with that request. Please try again.