Documentation
¶
Index ¶
- Variables
- func E(f string, a ...interface{})
- func ExtractEmail(from string) string
- func ExtractMsgID(msgID string) string
- func F(f string, a ...interface{})
- func L(f string, a ...interface{})
- func MsgIDToRawMsgID(msgid string, msgidbuf []byte) [16]byte
- func PanicIf(err interface{}, f string, a ...interface{})
- type Article
- type ArticleRef
- type BaseGroupInfo
- type HighLowSlice
- func (s *HighLowSlice) Append(v *ArticleRef) ([]*ArticleRef, int)
- func (s *HighLowSlice) Get(i int) (*ArticleRef, bool)
- func (s *HighLowSlice) High() int
- func (s *HighLowSlice) Len() int
- func (s *HighLowSlice) Low() int
- func (s *HighLowSlice) Set(i int, v *ArticleRef)
- func (s *HighLowSlice) Slice(i, j int, copy bool) (results []*ArticleRef, actualStart, actualEnd int)
- func (s *HighLowSlice) String() string
- type ModInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var Verbose = 0
Functions ¶
func ExtractEmail ¶
func ExtractMsgID ¶
func MsgIDToRawMsgID ¶
Types ¶
type ArticleRef ¶
func (*ArticleRef) MsgID ¶
func (ar *ArticleRef) MsgID() string
func (*ArticleRef) String ¶
func (ar *ArticleRef) String() string
type BaseGroupInfo ¶
type BaseGroupInfo struct { Name string `json:",omitempty"` Desc string `json:",omitempty"` Announce string `json:",omitempty"` Posting byte `json:",omitempty"` MaxPostSize int64 `json:",omitempty"` MaxLives int64 `json:",omitempty"` CreateTime int64 `json:",omitempty"` }
func (BaseGroupInfo) Diff ¶
func (g BaseGroupInfo) Diff(g2 *BaseGroupInfo) string
type HighLowSlice ¶
type HighLowSlice struct { MaxSize int NoPurgeNotify bool // contains filtered or unexported fields }
func (*HighLowSlice) Append ¶
func (s *HighLowSlice) Append(v *ArticleRef) ([]*ArticleRef, int)
func (*HighLowSlice) Get ¶
func (s *HighLowSlice) Get(i int) (*ArticleRef, bool)
func (*HighLowSlice) High ¶
func (s *HighLowSlice) High() int
func (*HighLowSlice) Len ¶
func (s *HighLowSlice) Len() int
func (*HighLowSlice) Low ¶
func (s *HighLowSlice) Low() int
func (*HighLowSlice) Set ¶
func (s *HighLowSlice) Set(i int, v *ArticleRef)
func (*HighLowSlice) Slice ¶
func (s *HighLowSlice) Slice(i, j int, copy bool) (results []*ArticleRef, actualStart, actualEnd int)
func (*HighLowSlice) String ¶
func (s *HighLowSlice) String() string
Directories
¶
Path | Synopsis |
---|---|
Package dateparse parses date-strings without knowing the format in advance, using a fast lex based approach to eliminate shotgun attempts.
|
Package dateparse parses date-strings without knowing the format in advance, using a fast lex based approach to eliminate shotgun attempts. |
Click to show internal directories.
Click to hide internal directories.