Standardiser l'utilisation de api#NewApiClientFromViper #110
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ type UploadDocumentResponseInfo struct {
|
||||||
Size float64 `json:"size"`
|
Size float64 `json:"size"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NewApiClientFromViper returns a pointer to a new API object,
|
||||||
|
// provided the configuration options are managed by
|
||||||
|
// https://git.agecem.com/agecem/agecem-org/config
|
||||||
func NewApiClientFromViper() (*API, error) {
|
func NewApiClientFromViper() (*API, error) {
|
||||||
var config config.Config
|
var config config.Config
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue