mirror of
https://gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud
synced 2024-11-21 19:26:24 +00:00
fix doc's bad import
This commit is contained in:
parent
0a52ba39d7
commit
54b39956e3
@ -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
4
doc.go
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user