Documentation
¶
Index ¶
- func OutputHTML(args *OutputParams) (*bytes.Buffer, error)
- func OutputPDF(args *OutputParams) (*bytes.Buffer, error)
- func OutputText(args *OutputParams) (*bytes.Buffer, error)
- func ReadFromBundle(path, file string) (string, error)
- type Content
- func (c *Content) IsPlasmid(str string) bool
- func (c *Content) IsStrain(str string) bool
- func (c *Content) OrderTimestamp() string
- func (c *Content) PlasmidCost() int
- func (c *Content) PlasmidItems() int
- func (c *Content) StrainCost() int
- func (c *Content) StrainItems() int
- func (c *Content) TotalCost() int
- type EmailContent
- type IssueContent
- type OutputParams
- type PlasmidRows
- type StrainRows
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OutputHTML ¶
func OutputHTML(args *OutputParams) (*bytes.Buffer, error)
func OutputText ¶
func OutputText(args *OutputParams) (*bytes.Buffer, error)
func ReadFromBundle ¶
Types ¶
type Content ¶
type Content struct {
Order *order.Order
Shipper *order.UserInfo
Payer *order.UserInfo
StrainPrice int
PlasmidPrice int
}
func (*Content) OrderTimestamp ¶
func (*Content) PlasmidCost ¶
func (*Content) PlasmidItems ¶
func (*Content) StrainCost ¶
func (*Content) StrainItems ¶
type EmailContent ¶
type EmailContent struct {
*Content
StrainData []*StrainRows
PlasmidData []*PlasmidRows
}
type IssueContent ¶
type OutputParams ¶
type PlasmidRows ¶
type PlasmidRows struct {
ID string
Name string
PubInfo []*datasource.PubInfo
}
type StrainRows ¶
Click to show internal directories.
Click to hide internal directories.