functions

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(filePath string) bool

func GetAllTags

func GetAllTags(paths map[string]interface{}) []string

func GetFileContent

func GetFileContent(filePath string) string

func GetFileExtension

func GetFileExtension(filePath string) string

func GetFileName

func GetFileName(filePath string) string

func GetFilePath

func GetFilePath(filePath string) string

func GetFileSize

func GetFileSize(filePath string) int64

func GetFilesList

func GetFilesList(path string) []string

func GetFuncMap

func GetFuncMap() template.FuncMap

func GetParamsByType

func GetParamsByType(params []interface{}, paramType string) []interface{}

func GetPathsByTag

func GetPathsByTag(paths map[string]interface{}, tag string) map[string]interface{}

func GetRefFrom

func GetRefFrom(object map[string]interface{}) string

func GetRefsList

func GetRefsList(paths map[string]interface{}) []string

func GroupByKey

func GroupByKey(data []interface{}, key string) map[string]interface{}

func IsDirectory

func IsDirectory(filePath string) bool

func IsFile

func IsFile(filePath string) bool

func ToYaml

func ToYaml(data interface{}) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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