From a4b56214b2307f1428ad2d20c62cb9964ce4ad80 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Sat, 19 Aug 2023 14:45:07 -0400 Subject: [PATCH] Documenter NewApiClientFromViper --- api/api.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/api.go b/api/api.go index 42211b6..c6608a3 100644 --- a/api/api.go +++ b/api/api.go @@ -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