This commit is contained in:
mudler
2025-03-02 17:43:11 +01:00
parent 89d7da3817
commit 3a7e56cdf1
2 changed files with 60 additions and 49 deletions

View File

@@ -26,10 +26,14 @@ type WrappedClient struct {
}
func NewWrappedClient(baseURL, collection string) *WrappedClient {
return &WrappedClient{
wc := &WrappedClient{
Client: NewClient(baseURL),
collection: collection,
}
wc.CreateCollection(collection)
return wc
}
func (c *WrappedClient) Count() int {