mirror of
https://github.com/status-im/status-go.git
synced 2025-01-11 15:14:52 +00:00
19 lines
277 B
Go
19 lines
277 B
Go
|
package appgeneral
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
)
|
||
|
|
||
|
type API struct {
|
||
|
s *Service
|
||
|
}
|
||
|
|
||
|
func NewAPI(s *Service) *API {
|
||
|
return &API{s: s}
|
||
|
}
|
||
|
|
||
|
// Returns a list of currencies for user's selection
|
||
|
func (api *API) GetCurrencies(context context.Context) []*Currency {
|
||
|
return GetCurrencies()
|
||
|
}
|