Skip to content

Commit d4868f8

Browse files
committed
misc: update readme example code
Updated the README example code to use the correct struct fields so that it compiles.
1 parent a289a27 commit d4868f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ import (
3333

3434
func main() {
3535
cfg := oxide.Config{
36-
Address: "https://api.oxide.computer",
37-
Token: "oxide-abc123",
36+
Host: "https://api.oxide.computer",
37+
Token: "oxide-abc123",
3838
}
3939
client, err := oxide.NewClient(&cfg)
4040
if err != nil {

0 commit comments

Comments
 (0)