mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-29 06:01:58 -08:00
Fix all golint comment related problems in the pkg packages
This commit is contained in:
parent
65d43576a0
commit
e7589e706e
17 changed files with 47 additions and 18 deletions
|
|
@ -12,6 +12,7 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
// Options contains the different possible HTML filtering options
|
||||
type Options struct {
|
||||
StripHTML bool
|
||||
MaxTextMessageLength int
|
||||
|
|
@ -24,6 +25,7 @@ var defaultOptions Options = Options{
|
|||
MaxImageMessageLength: 1024 * 1024,
|
||||
}
|
||||
|
||||
// Errors that can happen in this module
|
||||
var (
|
||||
ErrExceedsTextMessageLength = errors.New("Exceeds text message length")
|
||||
ErrExceedsImageMessageLength = errors.New("Exceeds image message length")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue