package
0.0.0-20201005190257-b3f917f3b338
Repository: https://github.com/umamimike/go-structure-examples.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
PopulateBeers populates the Cellar variable with Beers.
PopulateReviews populates the Reviews variable with Reviews.

# Constants

CollectionBeer identifier for JSON collection about beers.
CollectionReview identifier for JSON collection about reviews.
JSON will store data in JSON files saved on disk.
Memory will store data in memory.

# Variables

DB is the "global" storage instance.

# Structs

JSON is the data storage layered using JSON file.
Memory data storage layered save only in memory.

# Interfaces

Storage defines the functionality of a data store for the beer service.

# Type aliases

Type defines available storage types.