helpers

package
v0.0.0-...-ae5c375 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountWords

func CountWords(word, content string) int

func DumpRequest

func DumpRequest(req *http.Request, logger Logger)

func DumpResponse

func DumpResponse(resp *http.Response, logger Logger)

func IsLogginPage

func IsLogginPage(page string) bool

func LogMark

func LogMark(mark string, logger Logger)

func RemoveNoise

func RemoveNoise(value string) string

remove spaces, dots and carriage returns

Types

type Logger

type Logger interface {
	Printf(format string, a ...interface{})
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL