Skip to content

Commit a8e00fb

Browse files
authored
misc: update readme example code (#300)
Updated the README example code to use the correct struct fields so that it compiles.
1 parent a289a27 commit a8e00fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)