mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
Rewrite API integration tests without build tags
This commit is contained in:
parent
e299e821a6
commit
b68ada396a
15 changed files with 2385 additions and 2552 deletions
|
@ -12,7 +12,7 @@ This code snippet fetch the list of users:
|
|||
miniflux "miniflux.app/v2/client"
|
||||
)
|
||||
|
||||
client := miniflux.New("https://api.example.org", "admin", "secret")
|
||||
client := miniflux.NewClient("https://api.example.org", "admin", "secret")
|
||||
users, err := client.Users()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue