io

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StructPattern = "type\\s(?P<Name>\\w+)\\s+struct\\s+{(?P<Fields>[\\sa-zA-Z0-9*\\[\\]`\\.\\-'*\":]+)}"
)

Variables

View Source
var ErrDirNotExists = errors.New("directory does not exists")
View Source
var ErrFailedToCompileRegex = errors.New("failed to compile regex")

Functions

func DirExists

func DirExists(dir string) bool

func ExtractStructs

func ExtractStructs(files []string) ([]model.Struct, error)

func Files

func Files(dir string, excludes []string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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