Documentation
¶
Index ¶
Constants ¶
View Source
const ( StringFormat = "string" JsonFormat = "json" YamlFormat = "yaml" PropertiesFormat = "properties" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnvcdData ¶
type EnvcdData struct { Format string `json:"format"` Data interface{} `json:"data"` }
EnvcdData for dictionary value
func Json ¶
func Json(data interface{}) EnvcdData
Json create json format envcd data
@param data of json format
func Properties ¶
func Properties(data interface{}) EnvcdData
Properties create properties format envcd data
@param data of properties format
func String ¶
func String(data interface{}) EnvcdData
String create string format envcd data
@param data of string format
func ToEnvcdData ¶
ToEnvcdData json string convert to EnvcdData
Click to show internal directories.
Click to hide internal directories.