text

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package text 针对文本内容的编解码实现

Index

Constants

View Source
const Mimetype = "text/plain"

Mimetype 当前包能解析的编码类型

Variables

This section is empty.

Functions

func Marshal

func Marshal(v interface{}) ([]byte, error)

Marshal 针对文本内容的 MarshalFunc 实现

func Unmarshal

func Unmarshal(data []byte, v interface{}) (err error)

Unmarshal 针对文本内容的 UnmarshalFunc 实现

Types

This section is empty.

Directories

Path Synopsis
Package testobject 用于测试 mimetype 的对象
Package testobject 用于测试 mimetype 的对象

Jump to

Keyboard shortcuts

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