Categorygithub.com/kevinburke/go-types
modulepackage
0.0.0-20240719050749-165e75e768f7
Repository: https://github.com/kevinburke/go-types.git
Documentation: pkg.go.dev

# README

go-types

This is a library of types that are useful for dealing with JSON API's, and/or database fields. Currently supports NullString and NullTime, both of which can be serialized to/from JSON or a database.

# Functions

GenerateUUID generates a UUID with the given prefix.
NewPrefixUUID creates a PrefixUUID from the prefix and string uuid.
ParseBits parses a quantity of bits.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://en.wikipedia.org/wiki/Orders_of_magnitude_(data).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

A NullString is a String that may be null.
A NullTime is a Time that may be null.
A PrefixUUID stores an additional prefix as part of a UUID type.

# Type aliases

Bits represents a quantity of bits, bytes, kilobytes or megabytes.