util

package
v0.0.0-...-23fd19e Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorizeJSON

func ColorizeJSON(data []byte) ([]byte, error)

func ColorizeYAML

func ColorizeYAML(data []byte) ([]byte, error)

func PrettyPath

func PrettyPath(s string) string

func TimeFullMonth

func TimeFullMonth(date time.Time) (time.Time, time.Time)

func ToCamelCase

func ToCamelCase(s string) string

ToCamelCase is a very stupid implementation for converting PascalCase to camelCase.

NOTE: If we need to convert user-provided strings to camelCase, then we should replace this with the community strcase package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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