utils

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileNameCreation

func FileNameCreation(fileName string) string

func RandomString added in v0.0.7

func RandomString(length int) string

func ReadFiles

func ReadFiles(inputPath string) ([]string, error)

ReadFiles Reads file or files From Directories

func SimpleHash added in v0.0.13

func SimpleHash(s string) string

SimpleHash creates a deterministic hash from a string for stable naming

func UniqueStrings added in v0.0.7

func UniqueStrings(slice []string) []string

Types

type Flags added in v0.0.5

type Flags struct {
	InputDir    string
	OutputPath  string
	PackageName string
}

func ParseFlags

func ParseFlags() Flags

Jump to

Keyboard shortcuts

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