Skip to content

字符串的比较

go
fmt.Println(A == "GFG")  // 字符串相等比较
fmt.Println(B < A)       // 字符串字典序比较