Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/emvi/hide
/ types & classes
Types & classes
4 in github.com/emvi/hide
⨍
Functions
27
◇
Types & classes
4
↓ 10 callers
TypeAlias
ID
ID type that can be used as an replacement for int64. It is converted to/from a hash value when marshalled to/from JSON. Value 0 is considered null.
id.go:13
Interface
Hash
Hash is used to marshal/unmarshal hide.ID to/from JSON.
hash.go:6
Struct
HashID
HashID implements the hide.Hash interface and uses github.com/speps/go-hashids to encode and decode hashes.
hashid.go:9
Struct
testStruct
id_test.go:9