Skip to content

Commit 0c8c083

Browse files
committed
Tiny godoc simplifications.
1 parent ece6298 commit 0c8c083

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extend_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ func init() {
1919

2020
// Demo use of a non-standard algorithm and custom JOSE heading.
2121
func Example_extend() {
22-
c := jwt.Claims{KeyID: "№1"}
2322
// issue a JWT
23+
c := jwt.Claims{KeyID: "№1"}
2424
token, err := c.HMACSign("HM5", []byte("guest"), JWTHeaders)
2525
if err != nil {
2626
fmt.Println("sign error:", err)

jwt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ type Claims struct {
201201
//
202202
Set map[string]interface{}
203203

204-
// Raw payload encoding as is within the token. This field is read-only.
204+
// Raw encoding as is within the token. This field is read-only.
205205
Raw json.RawMessage
206206
// RawHeader encoding as is within the token. This field is read-only.
207207
RawHeader json.RawMessage

0 commit comments

Comments
 (0)