# Functions
GetUserID gets the user ID set by the JWT middleware in the Context.
NewACL creates new ACL service.
NewDiff creates Diff service.
NewJWT return new JWT service.
NewLogger returns a logrus Logger.
NewOAuth return new OAuth service.
ReplaceInvisible preprocessor function that replace invisible character with visible onces.
SetUserID sets the user ID to the context.
# Variables
ErrNoAccess means user doesn't have necessary permissions for a resource.
# Structs
ACL allows to manage permissions for user role.
Diff service generates diff for files.
GithubUser represents the user response returned by the GitHub auth.
JWT service abstracts JWT implementation.
JWTConfig defines enviroment variables for JWT.
OAuth service abstracts OAuth implementation.
OAuthConfig defines enviroment variables for OAuth.
# Type aliases
DiffPreprocessorFunc type is function signature to preprocess diffs.