コード例 #1
0
ファイル: db.go プロジェクト: kpawlik/exportms
func (a *Additional) IntAt(id utils.ColId) string {
	if val, ok := utils.GetInt64(a.Row, id); ok {
		return fmt.Sprintf("%d", val)
	} else {
		return ""
	}
}
コード例 #2
0
ファイル: db.go プロジェクト: kpawlik/exportms
func (p *Person) IntAt(id utils.ColId) string {
	if val, ok := utils.GetInt64(p.row, id); ok {
		return fmt.Sprintf("%d", val)
	} else {
		return ""
	}
}
コード例 #3
0
ファイル: db.go プロジェクト: kpawlik/exportms
func (o *Offer) IntAt(id utils.ColId) string {
	if val, ok := utils.GetInt64(o.row, id); ok {
		return fmt.Sprintf("%d", val)
	} else {
		return ""
	}
}