utils

package
v0.0.0-...-432149c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPackageName

func GetPackageName(lang string, cfg *config.LanguageConfig) string

func GetRegistryName

func GetRegistryName(lang string) string

func OutputTargetDirectory

func OutputTargetDirectory(targetName string) string

Returns the directory output name for the given target name. This automatically handles when the target name contains hyphens.

func OutputTargetMCPRelease

func OutputTargetMCPRelease(targetName string) string

Returns the MCP release output name for the given target name. This automatically handles when the target name contains hyphens and trims any "mcp-" prefix.

func OutputTargetPublish

func OutputTargetPublish(targetName string) string

Returns the publish output name for the given target name. This automatically handles when the target name contains hyphens.

func OutputTargetRegenerated

func OutputTargetRegenerated(targetName string) string

Returns the regenerated output name for the given target name. This automatically handles when the target name contains hyphens.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL