name

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportName

func ExportName(name string) string

Only Make it Public,no turn to other camel method

func GoName

func GoName(name string, trimPrefixes []string, inCurPkg bool) string

func HeaderFileToGo

func HeaderFileToGo(incPath string) string

/path/to/foo.h -> foo.go /path/to/_intptr.h -> X_intptr.go

func PubName

func PubName(name string) string

func RemovePrefixedName

func RemovePrefixedName(name string, trimPrefixes []string) string

func SuffixCount

func SuffixCount(name string, count int) string

func ToCamelCase

func ToCamelCase(s string, firstPartUpper bool) string

func UpperFirst

func UpperFirst(name string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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