Back to godoc.org
github.com/golang/mock / mockgen / internal / tests / mock_in_test_package

Package users

v1.4.4
Latest Go to latest

The latest major version is .

Published: Jul 28, 2020 | License: Apache-2.0 | Module: github.com/golang/mock

Index

type Finder

type Finder interface {
	FindUser(name string) User
	Add(u User)
}

type User

type User struct {
	Name string
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier