csv

package
v0.0.0-...-abba476 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSV

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

func New

func New(writer io.Writer) *CSV

func (*CSV) Add

func (c *CSV) Add(clog *CryptactLog)

func (*CSV) Flush

func (c *CSV) Flush()

type CryptactLog

type CryptactLog struct {
	Timestamp    time.Time
	Action       string
	Source       string
	Base         string
	DerivType    string
	DerivDetails string
	Volume       *big.Float
	Price        *big.Float
	Counter      string
	Fee          *big.Float
	FeeCcy       string
	Comment      string
}

Jump to

Keyboard shortcuts

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