package
0.0.1
Repository: https://github.com/samgozman/go-bloggy.git
Documentation: pkg.go.dev

# Functions

NewPostRepository creates a new PostRepository.
No description provided by the author
NewUserRepository creates a new UserRepository.

# Constants

AvgWordsPerMinute is the average number of words per minute a person can read.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
ErrDuplicate is returned if item already exists.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrNotFound is returned if item is not found.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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

Post
Post is the model for the post-data.
PostRepository is the database for the post data.
No description provided by the author
No description provided by the author
User is the model for the user data.
UserRepository is the database for the user data.

# Interfaces

PostRepositoryInterface is the interface for the PostRepository.
SubscriberRepositoryInterface is the interface for the subscriber repository.
UserRepositoryInterface is the interface for the UserRepository.

# Type aliases

AuthMethod is the method of authentication used by the user.