id

package
v1.0.24 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID struct {
	ExchangeName string
	Symbol       string
	LocalID      string
}

ID GlobalID = "{ExchangeName}::{Symbol}::{LocalID}" = "bitflyer::FX_BTC_JPY::001"

func NewID added in v0.4.7

func NewID(exchange, symbol, localID string) ID

NewID .. make id obj.

func (*ID) ToString

func (i *ID) ToString() string

ToString return globalID with string.

Jump to

Keyboard shortcuts

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