market

package
v0.0.0-...-6c4cad4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Stock          = "stock"
	Cryptocurrency = "cryptocurrency"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Finder

type Finder interface {
	FindByName(name string) (*Market, error)
}

type Market

type Market struct {
	ID          uuid.UUID
	Name        string
	DisplayName string `db:"display_name"`
}

Market represents market struct

func NewMarket

func NewMarket(name, displayName string) *Market

Jump to

Keyboard shortcuts

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