value

package
v0.0.0-...-39374da Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Param

type Param struct {
	Name string

	Param  string
	Childe map[string]*Param
	// contains filtered or unexported fields
}

Param 値を管理するためのStruct

func CreateParam

func CreateParam(name, value string, childe ...map[string]*Param) (param *Param)

CreateParam Paramを作成します。childeは全てマージしてChildeに格納します

func PurseJSON

func PurseJSON(jsondata string) (*Param, error)

JSON形式もしくはJSON内のパラメータの文字列をパースします

func (*Param) ChangeParam

func (p *Param) ChangeParam(key []string, val string)

ChangeParam Paramの変更をする key index=0から変更するParamの改装までArray stringで指定する val string型で単体

func (*Param) Fetch

func (p *Param) Fetch() (stringParam string)

Fetch Paramに設定されたJSONデータの取得をします

Jump to

Keyboard shortcuts

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