stringkit

package
v0.0.0-...-01eaed9 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineEncodingFromReader

func DetermineEncodingFromReader(r io.Reader) (e encoding.Encoding, name string, certain bool, err error)

DetermineEncodingFromReader - https://siongui.github.io/2018/10/27/auto-detect-and-convert-html-encoding-to-utf8-in-go/

func GBKToUTF8

func GBKToUTF8(r io.Reader) io.Reader

GBKToUTF8 gbk convert to utf8

func RemoveAllSpace

func RemoveAllSpace(v string) string

RemoveAllSpace remove unicode spaces

func StringNamedFormat

func StringNamedFormat(s string, m map[string]string) string

StringNamedFormat format by named argument

Types

This section is empty.

Jump to

Keyboard shortcuts

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