dirpkg

package
v0.0.0-...-d31700d Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

View Source
var Dir = Rule{

	Name: namepkg.Rule{MaxLen: 30, Style: "lower_case"},
	Size: sizeRule{MaxEntries: 20},
	// contains filtered or unexported fields
}

Functions

func Check

func Check(path string)
Example
problems.Clear()
Check("")
Check("../dir")
Check(".")
Check("..")
problems.Render()
Output:

Types

type Rule

type Rule struct {
	Name namepkg.Rule
	Size sizeRule
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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