Documentation
¶
Index ¶
- Constants
- func StrBytes(in, glue string, isUpper bool) string
- type TxtFile
- func (f *TxtFile) B64() error
- func (f *TxtFile) DataURI() (string, error)
- func (f *TxtFile) GZ() error
- func (f *TxtFile) Hex() error
- func (f *TxtFile) Read() (string, error)
- func (f *TxtFile) ReadAsB64String() (string, error)
- func (f *TxtFile) ReadAsHexString() (string, error)
- func (f *TxtFile) ReadBytes() ([]byte, error)
- func (f *TxtFile) Write(content string) error
- func (f *TxtFile) WriteGZ(content string) error
- func (f *TxtFile) WriteJSON(content interface{}) error
- type TxtFilesPack
Constants ¶
View Source
const EmptyString = ""
View Source
const ExtB64 = ".b64"
View Source
const ExtGZ = ".gz"
View Source
const ExtHEX = ".hex"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TxtFile ¶
type TxtFile string
func (*TxtFile) ReadAsB64String ¶ added in v0.0.28
func (*TxtFile) ReadAsHexString ¶ added in v0.0.28
type TxtFilesPack ¶ added in v0.0.66
Пачка файлов [имя файла]контент
func (*TxtFilesPack) Read ¶ added in v0.0.66
func (p *TxtFilesPack) Read() error
func (*TxtFilesPack) Remove ¶ added in v0.0.67
func (p *TxtFilesPack) Remove() error
func (*TxtFilesPack) Write ¶ added in v0.0.66
func (p *TxtFilesPack) Write() error
func (*TxtFilesPack) WriteGZ ¶ added in v0.0.66
func (p *TxtFilesPack) WriteGZ() error
Click to show internal directories.
Click to hide internal directories.