Documentation ¶ Index ¶ func String(s string) int func Strings(strings []string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func String ¶ func String(s string) int String hashes a string to a unique hashcode. crc32 returns a uint32, but for our use we need and non negative integer. Here we cast to an integer and invert it if the result is negative. func Strings ¶ func Strings(strings []string) string Strings hashes a list of strings to a unique hashcode. Types ¶ This section is empty. Source Files ¶ View all Source files hashcode.go Click to show internal directories. Click to hide internal directories.