Documenter NewApiClientFromViper
This commit is contained in:
parent
966dc49a9e
commit
a4b56214b2
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ type UploadDocumentResponseInfo struct {
|
|||
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) {
|
||||
var config config.Config
|
||||
|
||||
|
|
Loading…
Reference in a new issue