interfaces

package
v0.0.0-...-0194a98 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID   string
	Name string
}

func (*User) GetUserById

func (u *User) GetUserById(id string)

func (*User) InsertUser

func (u *User) InsertUser(name string)

type UserMethods

type UserMethods interface {
	GetUserById(id string)
	InsertUser(name string)
}

type UserMock

type UserMock struct{}

func (*UserMock) GetUserById

func (u *UserMock) GetUserById(id string)

func (*UserMock) InsertUser

func (u *UserMock) InsertUser(name string)

Jump to

Keyboard shortcuts

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