user

package
Version: v0.0.0-...-920ada6 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	GetByID(id string) (data interface{}, err error)
	Save(user *model.User) error
}

Repository represent the user's repository

type Usecase

type Usecase interface {
	Save(user *model.User) error
}

Usecase represent the user's usecases

Directories

Path Synopsis
http

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL