Skip to content

package golibrary

import "github.com/cloudboss/unobin/pkg/golibrary"

Functions

func FindModuleRoot

func FindModuleRoot(packageDir string) (string, error)

Types

type Validation

type Validation struct {
    ModulePath   string
    PackageName  string
    HasResources bool
    HasData      bool
    HasActions   bool
    HasFunctions bool
}

func ValidatePackage

func ValidatePackage(moduleRoot, packageDir string) (*Validation, error)