fix doc's bad import

This commit is contained in:
Adphi 2018-10-26 17:23:16 +02:00
parent 0a52ba39d7
commit 54b39956e3
2 changed files with 4 additions and 4 deletions

View File

@ -25,14 +25,14 @@ package main
import (
"fmt"
"gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud/client"
"gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud"
)
func main() {
url := "https://www.mynextcloud.com"
username := "admin"
password := "password"
c, err := client.NewClient(url)
c, err := gonextcloud.NewClient(url)
if err != nil {
panic(err)
}

4
doc.go
View File

@ -14,14 +14,14 @@ For example, to list all the Nextcloud's instance users:
import (
"fmt"
"gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud/client"
"gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud"
)
func main() {
url := "https://www.mynextcloud.com"
username := "admin"
password := "password"
c, err := client.NewClient(url)
c, err := gonextcloud.NewClient(url)
if err != nil {
panic(err)
}