Versions in this module Expand all Collapse all v1 v1.0.2 Jul 29, 2022 v1.0.1 Jul 29, 2022 Changes in this version + const FuncNameAll + const FuncNameComputedIf + const FuncNameForceNewIf + const FuncNameIf + const FuncNameIfValue + const FuncNameIfValueChange + const FuncNameSequence + const FuncNameValidateChange + const FuncNameValidateValue + const PackageModule + const PackageModulePath + const PackageName + const PackagePath + const TypeNameResourceConditionFunc + const TypeNameValueChangeConditionFunc + const TypeNameValueChangeValidationFunc + const TypeNameValueConditionFunc + const TypeNameValueValidationFunc + func IsFunc(e ast.Expr, info *types.Info, funcName string) bool + func IsFuncTypeResourceConditionFunc(node ast.Node, info *types.Info) bool + func IsFuncTypeValueChangeConditionFunc(node ast.Node, info *types.Info) bool + func IsFuncTypeValueChangeValidationFunc(node ast.Node, info *types.Info) bool + func IsFuncTypeValueConditionFunc(node ast.Node, info *types.Info) bool + func IsFuncTypeValueValidationFunc(node ast.Node, info *types.Info) bool + func IsNamedType(t *types.Named, typeName string) bool + func IsTypeResourceConditionFunc(t types.Type) bool + func IsTypeValueChangeConditionFunc(t types.Type) bool + func IsTypeValueChangeValidationFunc(t types.Type) bool + func IsTypeValueConditionFunc(t types.Type) bool + func IsTypeValueValidationFunc(t types.Type) bool + func PackagePathVersion(moduleVersion int) string + type ResourceConditionFuncInfo struct + AstFuncDecl *ast.FuncDecl + AstFuncLit *ast.FuncLit + Body *ast.BlockStmt + Node ast.Node + Pos token.Pos + Type *ast.FuncType + TypesInfo *types.Info + func NewResourceConditionFuncInfo(node ast.Node, info *types.Info) *ResourceConditionFuncInfo + type ValueChangeConditionFuncInfo struct + AstFuncDecl *ast.FuncDecl + AstFuncLit *ast.FuncLit + Body *ast.BlockStmt + Node ast.Node + Pos token.Pos + Type *ast.FuncType + TypesInfo *types.Info + func NewValueChangeConditionFuncInfo(node ast.Node, info *types.Info) *ValueChangeConditionFuncInfo + type ValueChangeValidationFuncInfo struct + AstFuncDecl *ast.FuncDecl + AstFuncLit *ast.FuncLit + Body *ast.BlockStmt + Node ast.Node + Pos token.Pos + Type *ast.FuncType + TypesInfo *types.Info + func NewValueChangeValidationFuncInfo(node ast.Node, info *types.Info) *ValueChangeValidationFuncInfo + type ValueConditionFuncInfo struct + AstFuncDecl *ast.FuncDecl + AstFuncLit *ast.FuncLit + Body *ast.BlockStmt + Node ast.Node + Pos token.Pos + Type *ast.FuncType + TypesInfo *types.Info + func NewValueConditionFuncInfo(node ast.Node, info *types.Info) *ValueConditionFuncInfo + type ValueValidationFuncInfo struct + AstFuncDecl *ast.FuncDecl + AstFuncLit *ast.FuncLit + Body *ast.BlockStmt + Node ast.Node + Pos token.Pos + Type *ast.FuncType + TypesInfo *types.Info + func NewValueValidationFuncInfo(node ast.Node, info *types.Info) *ValueValidationFuncInfo