NewCode returns a new currency registered code
(c string)
| 258 | |
| 259 | // NewCode returns a new currency registered code |
| 260 | func NewCode(c string) Code { |
| 261 | return storage.ValidateCode(c) |
| 262 | } |
| 263 | |
| 264 | // String conforms to the stringer interface |
| 265 | func (i *Item) String() string { |