github.com/status-im/status-go@v1.1.0/services/app-general/api.go (about) 1 package appgeneral 2 3 import ( 4 "context" 5 ) 6 7 type API struct { 8 s *Service 9 } 10 11 func NewAPI(s *Service) *API { 12 return &API{s: s} 13 } 14 15 // Returns a list of currencies for user's selection 16 func (api *API) GetCurrencies(context context.Context) []*Currency { 17 return GetCurrencies() 18 }