util

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

func GenerateSlug added in v0.1.2

func GenerateSlug(title string) string

GenerateSlug converts a title to a URL-friendly slug This matches the Konnect server-side slugify implementation Example: "My API Document" -> "my-api-document"

func InitDir

func InitDir(path string, mode fs.FileMode) error

InitDir initializes a directory with the given mode

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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