package
0.0.0-20240927085353-21f925a24b21
Repository: https://github.com/kataras/iris-cli.git
Documentation: pkg.go.dev
# Functions
ModulePath returns the module declaration of a go.mod file "b" contents.
Package returns the package declaration (without "package") of "b" source-code contents.
Parse accepts a source and returns a `Result`.
TryFindPackage returns a go package based on the dir, it reads the package declaration of the `main.go` or any `*go`.
# Structs
AssetDir represents the parsed asset directories that are handled by Iris.
Result is the `Parse` return value.
No description provided by the author