Skip to content

Segment creation and what it should output #1891

Answered by estruyf
estruyf asked this question in Troubleshoot
Discussion options

You must be logged in to vote

Or should the segment Init method be:

func (n *Npm) Init(props properties.Properties, env environment.Environment) {
    n.props = props
    n.env = env

	n.Text = props.GetString(NewProp, "Hello")
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JanDeDobbeleer
Comment options

Answer selected by estruyf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants