fmtpath

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Overview

Package fmtpath formats paths for C++ generated files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HeaderGuard

func HeaderGuard(guard string) (string, error)

HeaderGuard formats the string for header guards.

func HeaderPath

func HeaderPath(path string) (string, error)

HeaderPath formats the string for header guards.

func Namespace

func Namespace(path string) (string, error)

Namespace returns the C++ namespace.

func SetModuleName

func SetModuleName(name string)

SetModuleName sets the module name so that go.mod is not used. Should be used only for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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