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-20250322185616-c50a578426f1 (latest)
Published
Mar 22, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
4 days ago

Tools for package owners.