types

package
v0.0.0-...-fab95c1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Autocomplete

type Autocomplete struct {
	Total           uint64           `json:"total"`
	DictionaryTerms DictionnaryTerms `json:"dictionary_terms"`
}

type Bookmark

type Bookmark struct {
	BookmarkID sql.NullInt64 `json:"bookmark_id"`
	Person     `json:"person"`
	Product    `json:"product"`
}

type Borrowing

type Borrowing struct {
	BorrowingID      sql.NullInt64  `json:"borrowing_id"`
	BorrowingComment sql.NullString `json:"borrowing_comment"`
	Person           *Person        `json:"person"` // logged person
	//Storage          `json:"storage"`
	Borrower *Person `json:"borrower"` // logged person
}

type CID

type CID struct {
	CID int `json:"cid"`
}

type CasNumber

type CasNumber struct {
	*models.CasNumber
}

func (CasNumber) FromJsJSONValue

func (c CasNumber) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (CasNumber) GetSelect2Id

func (c CasNumber) GetSelect2Id() int

func (CasNumber) GetSelect2Text

func (c CasNumber) GetSelect2Text() string

func (*CasNumber) MarshalJSON

func (c *CasNumber) MarshalJSON() ([]byte, error)

type Category

type Category struct {
	*models.Category
}

func (Category) FromJsJSONValue

func (c Category) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (Category) GetSelect2Id

func (c Category) GetSelect2Id() int

func (Category) GetSelect2Text

func (c Category) GetSelect2Text() string

func (*Category) MarshalJSON

func (c *Category) MarshalJSON() ([]byte, error)

type CeNumber

type CeNumber struct {
	*models.CeNumber
}

func (CeNumber) FromJsJSONValue

func (c CeNumber) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (CeNumber) GetSelect2Id

func (c CeNumber) GetSelect2Id() int

func (CeNumber) GetSelect2Text

func (c CeNumber) GetSelect2Text() string

func (*CeNumber) MarshalJSON

func (c *CeNumber) MarshalJSON() ([]byte, error)

type ClassOfCompound

type ClassOfCompound struct {
	*models.ClassOfCompound
}

func (ClassOfCompound) FromJsJSONValue

func (c ClassOfCompound) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (ClassOfCompound) GetSelect2Id

func (c ClassOfCompound) GetSelect2Id() int

func (ClassOfCompound) GetSelect2Text

func (c ClassOfCompound) GetSelect2Text() string

func (*ClassOfCompound) MarshalJSON

func (c *ClassOfCompound) MarshalJSON() ([]byte, error)

type Compounds

type Compounds struct {
	PCCompounds []PCCompound `json:"PC_Compounds"`
	Record      Record       `json:"record"`
	Base64Png   string       `json:"base64_png"`
}

type DictionnaryTerms

type DictionnaryTerms struct {
	Compound []string `json:"compound"`
}

type EmpiricalFormula

type EmpiricalFormula struct {
	*models.EmpiricalFormula
}

func (EmpiricalFormula) FromJsJSONValue

func (e EmpiricalFormula) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (EmpiricalFormula) GetSelect2Id

func (e EmpiricalFormula) GetSelect2Id() int

func (EmpiricalFormula) GetSelect2Text

func (e EmpiricalFormula) GetSelect2Text() string

func (*EmpiricalFormula) MarshalJSON

func (e *EmpiricalFormula) MarshalJSON() ([]byte, error)

type Entity

type Entity struct {
	*models.Entity
}

func (Entity) FromJsJSONValue

func (e Entity) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (Entity) GetSelect2Id

func (e Entity) GetSelect2Id() int

func (Entity) GetSelect2Text

func (e Entity) GetSelect2Text() string

func (*Entity) MarshalJSON

func (e *Entity) MarshalJSON() ([]byte, error)

type HazardStatement

type HazardStatement struct {
	*models.HazardStatement
}

func (HazardStatement) FromJsJSONValue

func (h HazardStatement) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (HazardStatement) GetSelect2Id

func (s HazardStatement) GetSelect2Id() int

func (HazardStatement) GetSelect2Text

func (s HazardStatement) GetSelect2Text() string

func (*HazardStatement) MarshalJSON

func (s *HazardStatement) MarshalJSON() ([]byte, error)

type ID

type ID struct {
	ID CID `json:"id"`
}

type Information

type Information struct {
	ReferenceNumber int      `json:"ReferenceNumber"`
	Name            string   `json:"Name"`
	Description     string   `json:"Description"`
	Reference       []string `json:"Reference"`
	LicenseNote     []string `json:"LicenseNote"`
	LicenseURL      []string `json:"LicenseURL"`
	Value           Value    `json:"Value"`
}

type LDAPEntry

type LDAPEntry struct {
	*ldap.Entry
}

func (LDAPEntry) FromJsJSONValue

func (l LDAPEntry) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (LDAPEntry) GetSelect2Id

func (l LDAPEntry) GetSelect2Id() int

func (LDAPEntry) GetSelect2Text

func (l LDAPEntry) GetSelect2Text() string

func (LDAPEntry) GetTotal

func (l LDAPEntry) GetTotal() int

func (*LDAPEntry) MarshalJSON

func (l *LDAPEntry) MarshalJSON() ([]byte, error)

type LDAPSearchResult

type LDAPSearchResult struct {
	Entries []*LDAPEntry `json:"Entries"`
}

type LDAPSearchResults

type LDAPSearchResults struct {
	NbResults int              `json:"NbResults"`
	R         LDAPSearchResult `json:"R"`
}

func (LDAPSearchResults) FromJsJSONValue

func (l LDAPSearchResults) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (LDAPSearchResults) GetRowConcreteTypeName

func (l LDAPSearchResults) GetRowConcreteTypeName() string

func (LDAPSearchResults) GetRows

func (LDAPSearchResults) GetTotal

func (l LDAPSearchResults) GetTotal() int

func (LDAPSearchResults) IsExactMatch

func (l LDAPSearchResults) IsExactMatch() bool

type LinearFormula

type LinearFormula struct {
	*models.LinearFormula
}

func (LinearFormula) FromJsJSONValue

func (e LinearFormula) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (LinearFormula) GetSelect2Id

func (e LinearFormula) GetSelect2Id() int

func (LinearFormula) GetSelect2Text

func (e LinearFormula) GetSelect2Text() string

func (*LinearFormula) MarshalJSON

func (e *LinearFormula) MarshalJSON() ([]byte, error)

type Markup

type Markup struct {
	Start  float64 `json:"Start"`
	Length float64 `json:"Length"`
	URL    string  `json:"URL"`
	Type   string  `json:"Type"`
	Extra  string  `json:"Extra"`
}

type Name

type Name struct {
	*models.Name
}

func (Name) FromJsJSONValue

func (n Name) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (Name) GetSelect2Id

func (n Name) GetSelect2Id() int

func (Name) GetSelect2Text

func (n Name) GetSelect2Text() string

func (*Name) MarshalJSON

func (n *Name) MarshalJSON() ([]byte, error)

type PCCompound

type PCCompound struct {
	ID     ID     `json:"id"`
	Props  []Prop `json:"props"`
	Record Record `json:"record"`
}

type People

type People struct {
	Rows  []*Person `json:"rows"`
	Total int       `json:"total"`
}

func (People) FromJsJSONValue

func (People) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (People) GetRowConcreteTypeName

func (elems People) GetRowConcreteTypeName() string

func (People) GetRows

func (p People) GetRows() []select2.Select2ItemAble

func (People) GetTotal

func (p People) GetTotal() int

func (People) IsExactMatch

func (elems People) IsExactMatch() bool

type Permission

type Permission struct {
	*models.Permission
}

func PermissionFromJsJSONValue

func PermissionFromJsJSONValue(jsvalue js.Value) Permission

type Person

type Person struct {
	*models.Person
}

func (Person) FromJsJSONValue

func (p Person) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (Person) GetSelect2Id

func (p Person) GetSelect2Id() int

func (Person) GetSelect2Text

func (p Person) GetSelect2Text() string

func (*Person) MarshalJSON

func (p *Person) MarshalJSON() ([]byte, error)

type PhysicalState

type PhysicalState struct {
	*models.PhysicalState
}

func (PhysicalState) FromJsJSONValue

func (p PhysicalState) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (PhysicalState) GetSelect2Id

func (p PhysicalState) GetSelect2Id() int

func (PhysicalState) GetSelect2Text

func (p PhysicalState) GetSelect2Text() string

func (*PhysicalState) MarshalJSON

func (p *PhysicalState) MarshalJSON() ([]byte, error)

type PrecautionaryStatement

type PrecautionaryStatement struct {
	*models.PrecautionaryStatement
}

func (PrecautionaryStatement) FromJsJSONValue

func (s PrecautionaryStatement) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (PrecautionaryStatement) GetSelect2Id

func (s PrecautionaryStatement) GetSelect2Id() int

func (PrecautionaryStatement) GetSelect2Text

func (s PrecautionaryStatement) GetSelect2Text() string

func (*PrecautionaryStatement) MarshalJSON

func (s *PrecautionaryStatement) MarshalJSON() ([]byte, error)

type Producer

type Producer struct {
	*models.Producer
}

func (Producer) FromJsJSONValue

func (r Producer) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (Producer) GetSelect2Id

func (r Producer) GetSelect2Id() int

func (Producer) GetSelect2Text

func (r Producer) GetSelect2Text() string

func (*Producer) MarshalJSON

func (r *Producer) MarshalJSON() ([]byte, error)

type ProducerRef

type ProducerRef struct {
	*models.ProducerRef
}

func (ProducerRef) FromJsJSONValue

func (r ProducerRef) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (ProducerRef) GetSelect2Id

func (r ProducerRef) GetSelect2Id() int

func (ProducerRef) GetSelect2Text

func (r ProducerRef) GetSelect2Text() string

func (ProducerRef) MarshalJSON

func (r ProducerRef) MarshalJSON() ([]byte, error)

func (ProducerRef) ToJsValue

func (p ProducerRef) ToJsValue() js.Value

type Product

type Product struct {
	*models.Product
}

func (Product) FromJsJSONValue

func (p Product) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

ProductFromJsJSONValue converts a JS JSON into a Go product.

func (Product) GetSelect2Id

func (p Product) GetSelect2Id() int

func (Product) GetSelect2Text

func (p Product) GetSelect2Text() string

func (Product) ProductFromJsJSONValue

func (p Product) ProductFromJsJSONValue(jsvalue js.Value) Product

ProductFromJsJSONValue converts a JS JSON into a Go product.

type Products

type Products struct {
	Rows     []*Product `json:"rows"`
	Total    int        `json:"total"`
	ExportFn string     `json:"exportfn"`
}

func (Products) FromJsJSONValue

func (Products) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Products) GetExportFn

func (p Products) GetExportFn() string

func (Products) GetRowConcreteTypeName

func (elems Products) GetRowConcreteTypeName() string

func (Products) GetRows

func (p Products) GetRows() []select2.Select2ItemAble

func (Products) GetTotal

func (p Products) GetTotal() int

func (Products) IsExactMatch

func (elems Products) IsExactMatch() bool

type Prop

type Prop struct {
	URN   PropURN   `json:"urn"`
	Value PropValue `json:"value"`
}

type PropURN

type PropURN struct {
	Label string `json:"label"`
	Name  string `json:"name"`
}

type PropValue

type PropValue struct {
	Ival   *int     `json:"ival"`
	Fval   *float64 `json:"fval"`
	Binary *string  `json:"binary"`
	Sval   *string  `json:"sval"`
}

type PubchemProduct

type PubchemProduct struct {
	Name                *string   `json:"name"`
	Inchi               *string   `json:"inchi"`
	InchiKey            *string   `json:"inchi_key"`
	CanonicalSmiles     *string   `json:"canonical_smiles"`
	MolecularFormula    *string   `json:"molecular_formula"`
	Cas                 *string   `json:"cas"`
	Ec                  *string   `json:"ec"`
	MolecularWeight     *string   `json:"molecular_weight"`
	MolecularWeightUnit *string   `json:"molecular_weight_unit"`
	Synonyms            *[]string `json:"synonyms"`
	Symbols             *[]string `json:"symbols"`
	Signal              *[]string `json:"signal"`
	Hs                  *[]string `json:"hs"`
	Ps                  *[]string `json:"ps"`
	Twodpicture         *string   `json:"twodpicture"` // base64 encoded png
}

type Record

type Record struct {
	Record RecordContent `json:"Record"`
}

type RecordContent

type RecordContent struct {
	RecordType        string        `json:"RecordType"`
	RecordNumber      int           `json:"RecordNumber"`
	RecordAccession   string        `json:"RecordAccession"`
	RecordTitle       string        `json:"RecordTitle"`
	RecordExternalURL string        `json:"RecordExternalURL"`
	Section           []Section     `json:"Section"`
	Information       []Information `json:"Information"`
}

type Section

type Section struct {
	TOCHeading  *string        `json:"TOCHeading"`
	TOCID       *int           `json:"TOCID"`
	Description string         `json:"Description"`
	URL         string         `json:"URL"`
	Section     *[]Section     `json:"Section"`
	Information *[]Information `json:"Information"`
}

type Select2CasNumbers

type Select2CasNumbers struct {
	Rows  []*CasNumber `json:"rows"`
	Total int          `json:"total"`
}

func (Select2CasNumbers) FromJsJSONValue

func (Select2CasNumbers) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2CasNumbers) GetRowConcreteTypeName

func (elems Select2CasNumbers) GetRowConcreteTypeName() string

func (Select2CasNumbers) GetRows

func (Select2CasNumbers) GetTotal

func (c Select2CasNumbers) GetTotal() int

func (Select2CasNumbers) IsExactMatch

func (elems Select2CasNumbers) IsExactMatch() bool

type Select2Categories

type Select2Categories struct {
	Rows  []*Category `json:"rows"`
	Total int         `json:"total"`
}

func (Select2Categories) FromJsJSONValue

func (Select2Categories) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2Categories) GetRowConcreteTypeName

func (elems Select2Categories) GetRowConcreteTypeName() string

func (Select2Categories) GetRows

func (Select2Categories) GetTotal

func (c Select2Categories) GetTotal() int

func (Select2Categories) IsExactMatch

func (elems Select2Categories) IsExactMatch() bool

type Select2CeNumbers

type Select2CeNumbers struct {
	Rows  []*CeNumber `json:"rows"`
	Total int         `json:"total"`
}

func (Select2CeNumbers) FromJsJSONValue

func (Select2CeNumbers) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2CeNumbers) GetRowConcreteTypeName

func (elems Select2CeNumbers) GetRowConcreteTypeName() string

func (Select2CeNumbers) GetRows

func (Select2CeNumbers) GetTotal

func (c Select2CeNumbers) GetTotal() int

func (Select2CeNumbers) IsExactMatch

func (elems Select2CeNumbers) IsExactMatch() bool

type Select2ClassesOfCompound

type Select2ClassesOfCompound struct {
	Rows  []*ClassOfCompound `json:"rows"`
	Total int                `json:"total"`
}

func (Select2ClassesOfCompound) FromJsJSONValue

func (Select2ClassesOfCompound) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2ClassesOfCompound) GetRowConcreteTypeName

func (elems Select2ClassesOfCompound) GetRowConcreteTypeName() string

func (Select2ClassesOfCompound) GetRows

func (Select2ClassesOfCompound) GetTotal

func (c Select2ClassesOfCompound) GetTotal() int

func (Select2ClassesOfCompound) IsExactMatch

func (elems Select2ClassesOfCompound) IsExactMatch() bool

type Select2EmpiricalFormulas

type Select2EmpiricalFormulas struct {
	Rows  []*EmpiricalFormula `json:"rows"`
	Total int                 `json:"total"`
}

func (Select2EmpiricalFormulas) FromJsJSONValue

func (Select2EmpiricalFormulas) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2EmpiricalFormulas) GetRowConcreteTypeName

func (elems Select2EmpiricalFormulas) GetRowConcreteTypeName() string

func (Select2EmpiricalFormulas) GetRows

func (Select2EmpiricalFormulas) GetTotal

func (e Select2EmpiricalFormulas) GetTotal() int

func (Select2EmpiricalFormulas) IsExactMatch

func (elems Select2EmpiricalFormulas) IsExactMatch() bool

type Select2Entities

type Select2Entities struct {
	Rows  []*Entity `json:"rows"`
	Total int       `json:"total"`
}

func (Select2Entities) FromJsJSONValue

func (Select2Entities) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2Entities) GetRowConcreteTypeName

func (elems Select2Entities) GetRowConcreteTypeName() string

func (Select2Entities) GetRows

func (e Select2Entities) GetRows() []select2.Select2ItemAble

func (Select2Entities) GetTotal

func (e Select2Entities) GetTotal() int

func (Select2Entities) IsExactMatch

func (elems Select2Entities) IsExactMatch() bool

type Select2HazardStatements

type Select2HazardStatements struct {
	Rows  []*HazardStatement `json:"rows"`
	Total int                `json:"total"`
}

func (Select2HazardStatements) FromJsJSONValue

func (Select2HazardStatements) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2HazardStatements) GetRowConcreteTypeName

func (elems Select2HazardStatements) GetRowConcreteTypeName() string

func (Select2HazardStatements) GetRows

func (Select2HazardStatements) GetTotal

func (s Select2HazardStatements) GetTotal() int

func (Select2HazardStatements) IsExactMatch

func (elems Select2HazardStatements) IsExactMatch() bool

type Select2LinearFormulas

type Select2LinearFormulas struct {
	Rows  []*LinearFormula `json:"rows"`
	Total int              `json:"total"`
}

func (Select2LinearFormulas) FromJsJSONValue

func (Select2LinearFormulas) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2LinearFormulas) GetRowConcreteTypeName

func (elems Select2LinearFormulas) GetRowConcreteTypeName() string

func (Select2LinearFormulas) GetRows

func (Select2LinearFormulas) GetTotal

func (e Select2LinearFormulas) GetTotal() int

func (Select2LinearFormulas) IsExactMatch

func (elems Select2LinearFormulas) IsExactMatch() bool

type Select2Names

type Select2Names struct {
	Rows  []*Name `json:"rows"`
	Total int     `json:"total"`
}

func (Select2Names) FromJsJSONValue

func (Select2Names) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2Names) GetRowConcreteTypeName

func (elems Select2Names) GetRowConcreteTypeName() string

func (Select2Names) GetRows

func (n Select2Names) GetRows() []select2.Select2ItemAble

func (Select2Names) GetTotal

func (n Select2Names) GetTotal() int

func (Select2Names) IsExactMatch

func (elems Select2Names) IsExactMatch() bool

type Select2PhysicalStates

type Select2PhysicalStates struct {
	Rows  []*PhysicalState `json:"rows"`
	Total int              `json:"total"`
}

func (Select2PhysicalStates) FromJsJSONValue

func (Select2PhysicalStates) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2PhysicalStates) GetRowConcreteTypeName

func (elems Select2PhysicalStates) GetRowConcreteTypeName() string

func (Select2PhysicalStates) GetRows

func (Select2PhysicalStates) GetTotal

func (p Select2PhysicalStates) GetTotal() int

func (Select2PhysicalStates) IsExactMatch

func (elems Select2PhysicalStates) IsExactMatch() bool

type Select2PrecautionaryStatements

type Select2PrecautionaryStatements struct {
	Rows  []*PrecautionaryStatement `json:"rows"`
	Total int                       `json:"total"`
}

func (Select2PrecautionaryStatements) FromJsJSONValue

func (Select2PrecautionaryStatements) GetRowConcreteTypeName

func (elems Select2PrecautionaryStatements) GetRowConcreteTypeName() string

func (Select2PrecautionaryStatements) GetRows

func (Select2PrecautionaryStatements) GetTotal

func (s Select2PrecautionaryStatements) GetTotal() int

func (Select2PrecautionaryStatements) IsExactMatch

func (elems Select2PrecautionaryStatements) IsExactMatch() bool

type Select2ProducerRefs

type Select2ProducerRefs struct {
	Rows  []*ProducerRef `json:"rows"`
	Total int            `json:"total"`
}

func (Select2ProducerRefs) FromJsJSONValue

func (Select2ProducerRefs) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2ProducerRefs) GetRowConcreteTypeName

func (elems Select2ProducerRefs) GetRowConcreteTypeName() string

func (Select2ProducerRefs) GetRows

func (Select2ProducerRefs) GetTotal

func (r Select2ProducerRefs) GetTotal() int

func (Select2ProducerRefs) IsExactMatch

func (elems Select2ProducerRefs) IsExactMatch() bool

type Select2Producers

type Select2Producers struct {
	Rows  []*Producer `json:"rows"`
	Total int         `json:"total"`
}

func (Select2Producers) FromJsJSONValue

func (Select2Producers) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2Producers) GetRowConcreteTypeName

func (elems Select2Producers) GetRowConcreteTypeName() string

func (Select2Producers) GetRows

func (Select2Producers) GetTotal

func (r Select2Producers) GetTotal() int

func (Select2Producers) IsExactMatch

func (elems Select2Producers) IsExactMatch() bool

type Select2SignalWords

type Select2SignalWords struct {
	Rows  []*SignalWord `json:"rows"`
	Total int           `json:"total"`
}

func (Select2SignalWords) FromJsJSONValue

func (Select2SignalWords) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2SignalWords) GetRowConcreteTypeName

func (elems Select2SignalWords) GetRowConcreteTypeName() string

func (Select2SignalWords) GetRows

func (Select2SignalWords) GetTotal

func (s Select2SignalWords) GetTotal() int

func (Select2SignalWords) IsExactMatch

func (elems Select2SignalWords) IsExactMatch() bool

type Select2SupplierRefs

type Select2SupplierRefs struct {
	Rows  []*SupplierRef `json:"rows"`
	Total int            `json:"total"`
}

func (Select2SupplierRefs) FromJsJSONValue

func (Select2SupplierRefs) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2SupplierRefs) GetRowConcreteTypeName

func (elems Select2SupplierRefs) GetRowConcreteTypeName() string

func (Select2SupplierRefs) GetRows

func (Select2SupplierRefs) GetTotal

func (s Select2SupplierRefs) GetTotal() int

func (Select2SupplierRefs) IsExactMatch

func (elems Select2SupplierRefs) IsExactMatch() bool

type Select2Suppliers

type Select2Suppliers struct {
	Rows  []*Supplier `json:"rows"`
	Total int         `json:"total"`
}

func (Select2Suppliers) FromJsJSONValue

func (Select2Suppliers) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2Suppliers) GetRowConcreteTypeName

func (elems Select2Suppliers) GetRowConcreteTypeName() string

func (Select2Suppliers) GetRows

func (Select2Suppliers) GetTotal

func (r Select2Suppliers) GetTotal() int

func (Select2Suppliers) IsExactMatch

func (elems Select2Suppliers) IsExactMatch() bool

type Select2Symbols

type Select2Symbols struct {
	Rows  []*Symbol `json:"rows"`
	Total int       `json:"total"`
}

func (Select2Symbols) FromJsJSONValue

func (Select2Symbols) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2Symbols) GetRowConcreteTypeName

func (elems Select2Symbols) GetRowConcreteTypeName() string

func (Select2Symbols) GetRows

func (s Select2Symbols) GetRows() []select2.Select2ItemAble

func (Select2Symbols) GetTotal

func (s Select2Symbols) GetTotal() int

func (Select2Symbols) IsExactMatch

func (elems Select2Symbols) IsExactMatch() bool

type Select2Tags

type Select2Tags struct {
	Rows  []*Tag `json:"rows"`
	Total int    `json:"total"`
}

func (Select2Tags) FromJsJSONValue

func (Select2Tags) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2Tags) GetRowConcreteTypeName

func (elems Select2Tags) GetRowConcreteTypeName() string

func (Select2Tags) GetRows

func (t Select2Tags) GetRows() []select2.Select2ItemAble

func (Select2Tags) GetTotal

func (t Select2Tags) GetTotal() int

func (Select2Tags) IsExactMatch

func (elems Select2Tags) IsExactMatch() bool

type Select2Units

type Select2Units struct {
	Rows  []*Unit `json:"rows"`
	Total int     `json:"total"`
}

func (Select2Units) FromJsJSONValue

func (Select2Units) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (Select2Units) GetRowConcreteTypeName

func (elems Select2Units) GetRowConcreteTypeName() string

func (Select2Units) GetRows

func (u Select2Units) GetRows() []select2.Select2ItemAble

func (Select2Units) GetTotal

func (u Select2Units) GetTotal() int

func (Select2Units) IsExactMatch

func (elems Select2Units) IsExactMatch() bool

type SignalWord

type SignalWord struct {
	*models.SignalWord
}

func (SignalWord) FromJsJSONValue

func (s SignalWord) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (SignalWord) GetSelect2Id

func (s SignalWord) GetSelect2Id() int

func (SignalWord) GetSelect2Text

func (s SignalWord) GetSelect2Text() string

func (*SignalWord) MarshalJSON

func (s *SignalWord) MarshalJSON() ([]byte, error)

type Stock

type Stock struct {
	Total   float64 `json:"total"`
	Current float64 `json:"current"`
	Unit    Unit    `json:"unit"`
}

type Storage

type Storage struct {
	*models.Storage
}

func (Storage) FromJsJSONValue

func (s Storage) FromJsJSONValue(jsvalue js.Value) Storage

type Storages

type Storages struct {
	Rows     []*Storage `json:"rows"`
	Total    int        `json:"total"`
	ExportFn string     `json:"exportfn"`
}

func (Storages) GetExportFn

func (s Storages) GetExportFn() string

func (Storages) GetTotal

func (s Storages) GetTotal() int

type StoreLocation

type StoreLocation struct {
	*models.StoreLocation
}

func (StoreLocation) FromJsJSONValue

func (s StoreLocation) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (StoreLocation) GetSelect2Id

func (s StoreLocation) GetSelect2Id() int

func (StoreLocation) GetSelect2Text

func (s StoreLocation) GetSelect2Text() string

func (*StoreLocation) MarshalJSON

func (s *StoreLocation) MarshalJSON() ([]byte, error)

type StoreLocations

type StoreLocations struct {
	Rows  []*StoreLocation `json:"rows"`
	Total int              `json:"total"`
}

func (StoreLocations) FromJsJSONValue

func (StoreLocations) FromJsJSONValue(jsvalue js.Value) select2.Select2ResultAble

func (StoreLocations) GetRowConcreteTypeName

func (elems StoreLocations) GetRowConcreteTypeName() string

func (StoreLocations) GetRows

func (s StoreLocations) GetRows() []select2.Select2ItemAble

func (StoreLocations) GetTotal

func (s StoreLocations) GetTotal() int

func (StoreLocations) IsExactMatch

func (elems StoreLocations) IsExactMatch() bool

type StringWithMarkup

type StringWithMarkup struct {
	String string   `json:"String"`
	Markup []Markup `json:"Markup"`
}

type Supplier

type Supplier struct {
	*models.Supplier
}

func (Supplier) FromJsJSONValue

func (s Supplier) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (Supplier) GetSelect2Id

func (s Supplier) GetSelect2Id() int

func (Supplier) GetSelect2Text

func (s Supplier) GetSelect2Text() string

func (*Supplier) MarshalJSON

func (s *Supplier) MarshalJSON() ([]byte, error)

type SupplierRef

type SupplierRef struct {
	*models.SupplierRef
}

func (SupplierRef) FromJsJSONValue

func (s SupplierRef) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (SupplierRef) GetSelect2Id

func (s SupplierRef) GetSelect2Id() int

func (SupplierRef) GetSelect2Text

func (s SupplierRef) GetSelect2Text() string

func (SupplierRef) MarshalJSON

func (s SupplierRef) MarshalJSON() ([]byte, error)

func (SupplierRef) ToJsValue

func (s SupplierRef) ToJsValue() js.Value

type Symbol

type Symbol struct {
	*models.Symbol
}

func (Symbol) FromJsJSONValue

func (s Symbol) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (Symbol) GetSelect2Id

func (s Symbol) GetSelect2Id() int

func (Symbol) GetSelect2Text

func (s Symbol) GetSelect2Text() string

func (*Symbol) MarshalJSON

func (s *Symbol) MarshalJSON() ([]byte, error)

type Tag

type Tag struct {
	*models.Tag
}

func (Tag) FromJsJSONValue

func (t Tag) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (Tag) GetSelect2Id

func (t Tag) GetSelect2Id() int

func (Tag) GetSelect2Text

func (t Tag) GetSelect2Text() string

func (*Tag) MarshalJSON

func (t *Tag) MarshalJSON() ([]byte, error)

type Unit

type Unit struct {
	*models.Unit
}

func (Unit) FromJsJSONValue

func (u Unit) FromJsJSONValue(jsvalue js.Value) select2.Select2ItemAble

func (Unit) GetSelect2Id

func (u Unit) GetSelect2Id() int

func (Unit) GetSelect2Text

func (u Unit) GetSelect2Text() string

func (*Unit) MarshalJSON

func (u *Unit) MarshalJSON() ([]byte, error)

type Value

type Value struct {
	Number               []float64           `json:"Number"`
	DateISO8601          []string            `json:"DateISO8601"`
	Boolean              []bool              `json:"Boolean"`
	Binary               []string            `json:"Binary"`
	BinaryToStore        []string            `json:"BinaryToStore"`
	ExternalDataURL      []string            `json:"ExternalDataURL"`
	ExternalTableName    string              `json:"ExternalTableName"`
	Unit                 string              `json:"Unit"`
	MimeType             string              `json:"MimeType"`
	ExternalTableNumRows int                 `json:"ExternalTableNumRows"`
	StringWithMarkup     *[]StringWithMarkup `json:"StringWithMarkup"`
}

type WelcomeAnnounce

type WelcomeAnnounce struct {
	*models.WelcomeAnnounce
}

Jump to

Keyboard shortcuts

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