Modify comment syntax error (#5094)

This commit is contained in:
王哈哈
2022-11-10 18:22:37 +08:00
committed by GitHub
parent a658b9fbe0
commit 1bb607b286
16 changed files with 24 additions and 24 deletions

View File

@@ -27,7 +27,7 @@ type siprng struct {
k0, k1, ctr uint64
}
// siphash implements SipHash-2-4, accepting a uint64 as a message.
// siphash implements SipHash-2-4, accepting an uint64 as a message.
func siphash(k0, k1, m uint64) uint64 {
// Initialization.
v0 := k0 ^ 0x736f6d6570736575

View File

@@ -153,7 +153,7 @@ func (input *BeegoInput) IsHead() bool {
return input.Is("HEAD")
}
// IsOptions Is this a OPTIONS method request?
// IsOptions Is this an OPTIONS method request?
func (input *BeegoInput) IsOptions() bool {
return input.Is("OPTIONS")
}

View File

@@ -98,7 +98,7 @@ func encrypt(block cipher.Block, value []byte) ([]byte, error) {
// decrypt decrypts a value using the given block in counter mode.
//
// The value to be decrypted must be prepended by a initialization vector
// The value to be decrypted must be prepended by an initialization vector
// (http://goo.gl/zF67k) with the length of the block size.
func decrypt(block cipher.Block, value []byte) ([]byte, error) {
size := block.BlockSize()

View File

@@ -103,7 +103,7 @@ func init() {
beegoTplFuncMap["lt"] = lt // <
beegoTplFuncMap["ne"] = ne // !=
beegoTplFuncMap["urlfor"] = URLFor // build a URL to match a Controller and it's method
beegoTplFuncMap["urlfor"] = URLFor // build an URL to match a Controller and it's method
}
// AddFuncMap let user to register a func in the template.