standard

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Drivers

func Drivers() []string

驱动列表

func Register

func Register(name string, driver Driver)

驱动注册

Types

type Driver

type Driver interface {
	// 解析
	Unmarshal(data string, dst interface{}) error
}

驱动标准

func GetDriver

func GetDriver(name string) (Driver, error)

驱动获取

Jump to

Keyboard shortcuts

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