package
0.9.11
Repository: https://github.com/ysmood/goapi.git
Documentation: pkg.go.dev

# Functions

PostTypeString retrieves an enum value from the enum constants string name.
PostTypeStrings returns a slice of all String values of the enum.
PostTypeValues returns all values of the enum.

# Constants

PostTypeAll is the default value.
PostTypeGame .
PostTypeMusic .

# Structs

ParamsHeader is the parameters for fetching posts.
ParamsLogin is the parameters for login.
ParamsPagination is the parameters for pagination.
ParamsPosts is the parameters for fetching posts.
ResFavicon is the response for favicon.
ResLoginHeader is the header for successful login.
ResLoginOK is the response for successful login.
ResPostsInvalidToken is the response for invalid token.
ResPostsOK is the response for successful fetching posts.

# Interfaces

ResLogin is the response for login.
ResPosts is the response for fetching posts.

# Type aliases

PostType of a post.