valid

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandFile

func CommandFile(name string) bool

func ControllerFile

func ControllerFile(name string) bool

func Dir

func Dir(name string) bool

Dir validates that the name matches a valid directory

func GoFile added in v0.2.4

func GoFile(name string) bool

func PluginDir

func PluginDir(name string) bool

PluginDir validates that the name is a valid plugin directory

func PublicFile added in v0.2.6

func PublicFile(name string) bool

func ViewEntry

func ViewEntry(name string) bool

ViewEntry validates that name matches a valid view entrypoint

func WalkDirFunc added in v0.2.5

func WalkDirFunc(fn fs.WalkDirFunc) fs.WalkDirFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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