factory

package
v0.0.0-...-33ea157 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BetFactory

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

func NewBetFactory

func NewBetFactory(challenged challenged.IChallenged, name, description string, value float32) *BetFactory

func (*BetFactory) AsClosed

func (factory *BetFactory) AsClosed() *BetFactory

func (*BetFactory) AsOpened

func (factory *BetFactory) AsOpened() *BetFactory

func (*BetFactory) AsSuspended

func (factory *BetFactory) AsSuspended() *BetFactory

func (*BetFactory) Build

func (factory *BetFactory) Build() (domain.IBet, error)

Jump to

Keyboard shortcuts

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