package util

import "github.com/purpleidea/mgmt/lang/funcs/funcgen/util"

Package util provides some functions to be imported by the generated file.

Index

Functions

func MclListToGolang

func MclListToGolang(val types.Value) []string

MclListToGolang is a helper function that converts an mcl []str to the golang equivalent of []string. This is imported by the generated functions.

Source Files

util.go

Version
v0.0.0-20250422071849-c5d7fdb0a3ca (latest)
Published
Apr 22, 2025
Platform
js/wasm
Imports
1 packages
Last checked
9 hours ago

Tools for package owners.