builder

package
v0.0.0-...-32bbb43 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountBuilder

type AccountBuilder struct {
	// contains filtered or unexported fields
}

func NewAccountBuilder

func NewAccountBuilder() *AccountBuilder

func (*AccountBuilder) Build

func (b *AccountBuilder) Build() domain.Account

func (*AccountBuilder) Email

func (b *AccountBuilder) Email(email string) *AccountBuilder

func (*AccountBuilder) Login

func (b *AccountBuilder) Login(login string) *AccountBuilder

func (*AccountBuilder) Password

func (b *AccountBuilder) Password(password string) *AccountBuilder

func (*AccountBuilder) Role

func (b *AccountBuilder) Role(role string) *AccountBuilder

type DescriptionBuilder

type DescriptionBuilder struct {
	// contains filtered or unexported fields
}

func NewDescriptionBuilder

func NewDescriptionBuilder() *DescriptionBuilder

func (*DescriptionBuilder) Author

func (b *DescriptionBuilder) Author(author uint) *DescriptionBuilder

func (*DescriptionBuilder) Build

func (*DescriptionBuilder) Content

func (b *DescriptionBuilder) Content(content string) *DescriptionBuilder

func (*DescriptionBuilder) Implementation

func (b *DescriptionBuilder) Implementation(impl string) *DescriptionBuilder

type ImplementationBuilder

type ImplementationBuilder struct {
	// contains filtered or unexported fields
}

func NewImplementationBuilder

func NewImplementationBuilder() *ImplementationBuilder

func (*ImplementationBuilder) Build

func (*ImplementationBuilder) Language

func (b *ImplementationBuilder) Language(languageID uint) *ImplementationBuilder

func (*ImplementationBuilder) Name

type LanguageBuilder

type LanguageBuilder struct {
	// contains filtered or unexported fields
}

func NewLanguageBuilder

func NewLanguageBuilder() *LanguageBuilder

func (*LanguageBuilder) Build

func (b *LanguageBuilder) Build() domain.Language

func (*LanguageBuilder) Name

func (b *LanguageBuilder) Name(name string) *LanguageBuilder

func (*LanguageBuilder) Version

func (b *LanguageBuilder) Version(version string) *LanguageBuilder

type LibraryBuilder

type LibraryBuilder struct {
	// contains filtered or unexported fields
}

func NewLibraryBuilder

func NewLibraryBuilder() *LibraryBuilder

func (*LibraryBuilder) Build

func (b *LibraryBuilder) Build() domain.Library

func (*LibraryBuilder) Language

func (b *LibraryBuilder) Language(language uint) *LibraryBuilder

func (*LibraryBuilder) Name

func (b *LibraryBuilder) Name(name string) *LibraryBuilder

func (*LibraryBuilder) Version

func (b *LibraryBuilder) Version(version string) *LibraryBuilder

type TagBuilder

type TagBuilder struct {
	// contains filtered or unexported fields
}

func NewTagBuilder

func NewTagBuilder() *TagBuilder

func (*TagBuilder) Build

func (b *TagBuilder) Build() domain.Tag

func (*TagBuilder) Category

func (b *TagBuilder) Category(category string) *TagBuilder

func (*TagBuilder) Content

func (b *TagBuilder) Content(content string) *TagBuilder

type TestBuilder

type TestBuilder struct {
	// contains filtered or unexported fields
}

func NewTestBuilder

func NewTestBuilder() *TestBuilder

func (*TestBuilder) Author

func (b *TestBuilder) Author(author uint) *TestBuilder

func (*TestBuilder) Build

func (b *TestBuilder) Build() domain.Test

func (*TestBuilder) Description

func (b *TestBuilder) Description(descr string) *TestBuilder

func (*TestBuilder) Implementation

func (b *TestBuilder) Implementation(impl string) *TestBuilder

func (*TestBuilder) InArgs

func (b *TestBuilder) InArgs(len uint) *TestBuilder

func (*TestBuilder) OutArgs

func (b *TestBuilder) OutArgs(len uint) *TestBuilder

type TreeBuilder

type TreeBuilder struct {
	// contains filtered or unexported fields
}

func NewTreeBuilder

func NewTreeBuilder() *TreeBuilder

func (*TreeBuilder) Build

func (b *TreeBuilder) Build() domain.Tree
func (b *TreeBuilder) Link(link string) *TreeBuilder

func (*TreeBuilder) Name

func (b *TreeBuilder) Name(name string) *TreeBuilder

func (*TreeBuilder) ParentName

func (b *TreeBuilder) ParentName(parentName string) *TreeBuilder

type VersionBuilder

type VersionBuilder struct {
	// contains filtered or unexported fields
}

func NewVersionBuilder

func NewVersionBuilder() *VersionBuilder

func (*VersionBuilder) Author

func (b *VersionBuilder) Author(author uint) *VersionBuilder

func (*VersionBuilder) Build

func (b *VersionBuilder) Build() domain.Version

func (*VersionBuilder) Code

func (b *VersionBuilder) Code(code string) *VersionBuilder

func (*VersionBuilder) Date

func (b *VersionBuilder) Date(date time.Time) *VersionBuilder

func (*VersionBuilder) Implementation

func (b *VersionBuilder) Implementation(impl string) *VersionBuilder

func (*VersionBuilder) Name

func (b *VersionBuilder) Name(name string) *VersionBuilder

Jump to

Keyboard shortcuts

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