Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rate ¶
type Rate struct { CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` Currency string `bson:"_id"` Base string `bson:"base"` Rate float64 `bson:"rate"` }
func GetNewRate ¶
func GetNewRate(rate ratesTypes.CurrencyExchangeRate) *Rate
type Saving ¶
type User ¶
type User struct { CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` ID int `bson:"telegram_id"` FirstName string `bson:"first_name"` LastName string `bson:"last_name"` UserName string `bson:"username"` LanguageCode string `bson:"language_code"` BaseCurrency string `bson:"base"` }
Click to show internal directories.
Click to hide internal directories.