Documentation ¶
Index ¶
- Constants
- func AddNewLine(body []byte) []byte
- func AverageTime(t time.Duration, n int) time.Duration
- func DebugJSON(data interface{})
- func DebugSave(data interface{})
- func GetBody(client *http.Client, URL string) ([]byte, error)
- func GetValue(message string, val *string, required bool)
- func GreenString(str string) string
- func LimitNumOfChars(s string, n int) string
- func PdfToTextLayout(body []byte) ([]byte, error)
- func PdfToTextRaw(body []byte) ([]byte, error)
- func PostBody(client *http.Client, URL string, data url.Values) ([]byte, error)
- func RandString(n int) string
- func RedString(str string) string
- type Performance
Constants ¶
View Source
const CHA = "abcdefghijklmnopqrstuvwxyz0123456789"
Variables ¶
This section is empty.
Functions ¶
func AddNewLine ¶ added in v0.5.2
func GreenString ¶
func LimitNumOfChars ¶ added in v0.5.2
func PdfToTextLayout ¶ added in v0.6.6
func PdfToTextRaw ¶ added in v0.6.6
func RandString ¶
Types ¶
type Performance ¶ added in v0.4.0
type Performance struct { Fetching time.Duration Parsing time.Duration // contains filtered or unexported fields }
func (*Performance) Parse ¶ added in v0.4.0
func (p *Performance) Parse() string
func (*Performance) StartFetching ¶ added in v0.4.0
func (p *Performance) StartFetching()
func (*Performance) StartParsing ¶ added in v0.4.0
func (p *Performance) StartParsing()
func (*Performance) StopFetching ¶ added in v0.4.0
func (p *Performance) StopFetching()
func (*Performance) StopParsing ¶ added in v0.4.0
func (p *Performance) StopParsing()
Click to show internal directories.
Click to hide internal directories.