ocsv

package
v0.0.0-...-e168591 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVPassivePTNumber

type CSVPassivePTNumber struct {
	Cat            string `csv:"*产品类别"`
	Part           string `csv:"*产品型号"`
	Description    string `csv:"描述"`
	Package        string `csv:"封装/规格"`
	ICode          string `csv:"编号"`
	Promaf         string `csv:"*品牌"`
	SalesUnitPrice int64  `csv:"销售单价"`
	PanPian        int64  `csv:"1圆盘有*片"`
	RecentSell     int64  `csv:"近期约售"`
	Stock          int64  `csv:"现货库存"`
}

type Ocsv

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

Ocsv module

func NewOcsv

func NewOcsv() *Ocsv

NewOcsv new

func (*Ocsv) Append

func (c *Ocsv) Append(in interface{}) error

Append append a data into

func (*Ocsv) Close

func (c *Ocsv) Close()

Close oscv close

func (*Ocsv) Init

func (c *Ocsv) Init() error

Init ocsv

type PartNumber

type PartNumber struct {
	Status           int       `json:"status"`
	Keyword          string    `json:"keyword"`
	Steps            []string  `json:"steps"`
	Prices           []float64 `json:"prices"`
	Description      string    `json:"description"`
	Part             string    `json:"part"`
	Promaf           string    `json:"pro_maf"`
	Pkgtype          string    `json:"pkgtype"`
	Rohs             string    `json:"rohs"`
	Tcode            string    `json:"tcode"`
	Stock            string    `json:"stock"`
	ReserveStock     string    `json:"reserveStock"`
	TotalStockDue    string    `json:"totalStockDue"`
	TotalResStockDue string    `json:"totalResStockDue"`
	SupplierLeadTime string    `json:"supplierLeadTime"`
	Spq              string    `json:"spq"`
	Moq              string    `json:"moq"`
	OrderMultiple    string    `json:"orderMultiple"`
}

PartNumber str

Jump to

Keyboard shortcuts

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