Help us shape the future of Go! Take the 2026 Go Developer Survey

user

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2020 License: LGPL-3.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	CreateIfNotExist(user *model.User) error
	GetByUsername(username string) (*model.User, error)
}

Repository represent the user's repository contract

type Usecase

type Usecase interface {
	Login(username, password string) (string, error)
}

Usecase represent the user's usecases

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL