package
0.0.0-20231116054337-4d2f4895212c
Repository: https://github.com/fatsheep9146/go-best-practise.git
Documentation: pkg.go.dev

# Functions

EmptyResource returns an empty resource wrapper whose data is a empty map.
NewResource reads data from input and returns resources if it's not empty.
NewResourceFromReader returns a *Resource by decoding from an io.Reader.
NewResourceFromString returns a *Resource by decoding from an string.

# Structs

Resource provides a wrapper for arbitrary JSON objects that adds methods to access properties.