Top 7.0% dependent packages on proxy.golang.org
Top 4.1% forks on proxy.golang.org
proxy.golang.org : github.com/kak-tus/nan
Package nan - Zero allocation Nullable structures in one library with handy conversion functions, marshallers and unmarshallers. Features: - short name "nan" - handy conversion functions - select which marshalers you want and limit dependencies to only those you actually need - ability to convert your custom structs to nan compatible type with Valid field and all requested encoders/decoders Supported types: - bool - float32 - float64 - int - int8 - int16 - int32 - int64 - string - time.Time - more types will be added as necessary Supported marshallers: - Standart JSON - encoding.TextMarshaler/TextUnmarshaler. Reuses standard JSON logic and format - jsoniter - easyjson - go-json - Scylla and Cassandra. Compatible with gocql - SQL Simply create struct field or variable with one of the exported types and use it without any changes to external API. JSON input/output will be converted to null or non null values. Scylla and Cassandra will use wire format compatible with gocql.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/kak-tus/nan
Keywords:
golang
License: MIT
Latest release: about 2 years ago
First release: almost 5 years ago
Namespace: github.com/kak-tus
Dependent packages: 1
Stars: 65 on GitHub
Forks: 8 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago