From fcf02cbafe3b8f9b9bc4c22783dec5b33120045b Mon Sep 17 00:00:00 2001 From: Clouding Date: Tue, 17 Nov 2020 12:58:20 +0800 Subject: [PATCH] chore: update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 894ae86..11d8451 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ body := CreateToken{ Secret: "my-secret", } var token Token -if err := fast.Post(uri, body, &token, nil); err != nil { +if err := fast.Post(uri, &body, &token, nil); err != nil { log.Fatalln(err) } fmt.Printf("token: %v, expired_at: %v", token.Token, token.ExpiredAt)