Documentation ¶
Index ¶
- func CastToString(v interface{}) (string, error)
- func Lesson(cfg Config) error
- func OpenFile(cfg Config) (f afero.File, err error)
- func OutputJSON(jc Journey) (data string, err error)
- func ProcessJsonRaw(data []byte) error
- func ReadFileData(cfg Config) (data []byte, err error)
- type Config
- type CustomTime
- type Draft
- type Journey
- type Key
- type Node
- type Nodes
- type Published
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CastToString ¶
func OutputJSON ¶
func ProcessJsonRaw ¶
func ReadFileData ¶
Types ¶
type CustomTime ¶
func (*CustomTime) UnmarshalJSON ¶
func (t *CustomTime) UnmarshalJSON(data []byte) (err error)
type Journey ¶
type Journey struct { Classification string `json:"classification"` Creator string `json:"creator"` Id int `json:"id"` SegmentIds []int `json:"segment_ids"` TouchToCampMap map[string]int `json:"touch_to_campaign_map"` Nodes Nodes `json:"nodes"` SomeRandomProp *string `json:"some_random_prop,omitempty"` Name interface{} `json:"name"` Key Key `json:"key"` Created CustomTime `json:"created"` }
func ProcessJsonJC ¶
type Key ¶
func (*Key) UnmarshalJSON ¶
type Nodes ¶
func (*Nodes) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.