utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NameToIdentifierRegexp = regexp.MustCompile("[^a-zA-Z0-9]")

Functions

func DefaultCacheDir

func DefaultCacheDir() string

func GenIndent

func GenIndent(level int) string

func NameToIdentifier

func NameToIdentifier(str string) string

func NormalizeSlashes

func NormalizeSlashes(str string) string

func Unquote

func Unquote(s string) string

Unquote returns unquoted version of s, if there are any quotes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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