Skip to content

Commit ee68f42

Browse files
authored
Readme: using os.Getenv in example (#1)
1 parent bafbc15 commit ee68f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
func main() {
3434
// new client
3535
owner := "my-username"
36-
token := "token from https://data.world/settings/advanced"
36+
token := os.Getenv("DW_AUTH_TOKEN") // token from https://data.world/settings/advanced"
3737
dw := dwapi.NewClient(owner, token)
3838

3939
// get info on the current user

0 commit comments

Comments
 (0)