소스 검색

xsrftoken: fix lint error in Timeout's comment.

Change-Id: I0c787256e5bae7796fb4b62253a43363b32313f2
Reviewed-on: https://go-review.googlesource.com/17790
Reviewed-by: David Symonds <dsymonds@golang.org>
Dave Day 10 년 전
부모
커밋
17535f9440
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      xsrftoken/xsrf.go

+ 1 - 1
xsrftoken/xsrf.go

@@ -16,7 +16,7 @@ import (
 	"time"
 	"time"
 )
 )
 
 
-// The duration that XSRF tokens are valid.
+// Timeout is the duration for which XSRF tokens are valid.
 // It is exported so clients may set cookie timeouts that match generated tokens.
 // It is exported so clients may set cookie timeouts that match generated tokens.
 const Timeout = 24 * time.Hour
 const Timeout = 24 * time.Hour