project

package
v0.0.0-...-8ae6469 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOption

type MockOption struct {
	mock.Mock
}

MockOption is an autogenerated mock type for the Option type

func (*MockOption) Execute

func (_m *MockOption) Execute(p *Project)

Execute provides a mock function with given fields: p

type Option

type Option func(p *Project)

func WithCustom

func WithCustom(k string, v interface{}) Option

func WithCustomMap

func WithCustomMap(v map[string]interface{}) Option

type Project

type Project struct {
	RepositoryName string
	ProjectName    string
	Description    string
	Author         string
	Email          string
	Custom         map[string]interface{}
}

func New

func New(name, description, author, email string, opts ...Option) *Project

Jump to

Keyboard shortcuts

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