Skip to content

Commit 0cb25d8

Browse files
committed
chore: use printf
1 parent a8ed467 commit 0cb25d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/all.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func main() {
1515
g.AddProvider(goic.Yahoo.WithCredential(os.Getenv("YAHOO_CLIENT_ID"), os.Getenv("YAHOO_CLIENT_SECRET")))
1616

1717
g.UserCallback(func(t *goic.Token, u *goic.User, w http.ResponseWriter, r *http.Request) {
18-
log.Println("token: ", t, "\nuser: ", u)
18+
log.Printf("token: %v\nuser: %v\n", t, u)
1919
_, _ = w.Write([]byte("All good, check backend console"))
2020
})
2121

0 commit comments

Comments
 (0)