Preparing report...

Report for github.com/vlorc/gioc

A+    Excellent!    Found 76 issues across 98 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo100%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

No problems detected. Good job!


golint22%

Golint is a linter for Go source code.

    • gioc/text/struct.go
    • Line 11: warning: exported type ParamString should have comment or be unexported (golint)
    • Line 12: warning: exported type ParamNumber should have comment or be unexported (golint)
    • Line 13: warning: exported type ParamFloat should have comment or be unexported (golint)
    • Line 14: warning: exported type ParamNull should have comment or be unexported (golint)
    • Line 16: warning: exported type CoreTokenScan should have comment or be unexported (golint)
    • Line 24: warning: exported type CoreTextParser should have comment or be unexported (golint)
    • Line 29: warning: exported type CoreParamFactory should have comment or be unexported (golint)
    • Line 32: warning: exported type CoreTokenScanFactory should have comment or be unexported (golint)
    • Line 33: warning: exported type CoreTextParserFactory should have comment or be unexported (golint)
    • gioc/text/token.go
    • Line 108: warning: exported function NewTokenScan should have comment or be unexported (golint)
    • Line 112: warning: exported method CoreTokenScan.Offset should have comment or be unexported (golint)
    • Line 116: warning: exported method CoreTokenScan.Position should have comment or be unexported (golint)
    • Line 120: warning: exported method CoreTokenScan.Begin should have comment or be unexported (golint)
    • Line 125: warning: exported method CoreTokenScan.SetInput should have comment or be unexported (golint)
    • Line 129: warning: exported method CoreTokenScan.Reset should have comment or be unexported (golint)
    • Line 134: warning: exported method CoreTokenScan.Next should have comment or be unexported (golint)
    • Line 143: warning: exported method CoreTokenScan.Scan should have comment or be unexported (golint)
    • Line 165: warning: exported method CoreTokenScan.Transfer should have comment or be unexported (golint)
    • Line 178: warning: exported method CoreTokenScan.End should have comment or be unexported (golint)
    • gioc/container/container.go
    • Line 14: warning: exported method CoreContainer.AsRegister should have comment or be unexported (golint)
    • Line 18: warning: exported method CoreContainer.AsProvider should have comment or be unexported (golint)
    • Line 22: warning: exported method CoreContainer.Seal should have comment or be unexported (golint)
    • Line 32: warning: exported method CoreContainer.Readonly should have comment or be unexported (golint)
    • Line 40: warning: exported method CoreContainer.NewChild should have comment or be unexported (golint)
    • Line 53: warning: exported method CoreContainer.Name should have comment or be unexported (golint)
    • gioc/types/indexer/indexer.go
    • Line 8: warning: exported type Int should have comment or be unexported (golint)
    • Line 10: warning: exported type String should have comment or be unexported (golint)
    • Line 12: warning: exported method Int.Value should have comment or be unexported (golint)
    • Line 20: warning: exported method String.Value should have comment or be unexported (golint)
    • gioc/examples/lazy/main.go
    • Line 5: warning: should not use dot imports (golint)
    • Line 6: warning: should not use dot imports (golint)
    • Line 7: warning: should not use dot imports (golint)
    • Line 10: warning: exported type Personal should have comment or be unexported (golint)
    • Line 17: warning: comment on exported var ConfigModule should be of the form "ConfigModule ..." (golint)
    • gioc/invoker/invoker.go
    • Line 24: warning: exported function NewInvoker should have comment or be unexported (golint)
    • Line 50: warning: exported method CoreInvoker.Apply should have comment or be unexported (golint)
    • Line 54: warning: exported method CoreInvoker.ApplyWith should have comment or be unexported (golint)
    • gioc/examples/base/main.go
    • Line 4: warning: should not use dot imports (golint)
    • Line 5: warning: should not use dot imports (golint)
    • Line 6: warning: should not use dot imports (golint)
    • Line 9: warning: comment on exported var ConfigModule should be of the form "ConfigModule ..." (golint)
    • gioc/invoker/with.go
    • Line 11: warning: exported method WithInvoker.Apply should have comment or be unexported (golint)
    • Line 15: warning: exported method WithInvoker.ApplyWith should have comment or be unexported (golint)
    • gioc/invoker/struct.go
    • Line 11: warning: exported type CoreInvoker should have comment or be unexported (golint)
    • Line 17: warning: exported type NoParamInvoker should have comment or be unexported (golint)
    • Line 18: warning: exported type SimpleInvoker should have comment or be unexported (golint)
    • Line 20: warning: exported type CoreInvokerFactory should have comment or be unexported (golint)
    • Line 22: warning: exported type WithInvoker should have comment or be unexported (golint)
    • gioc/types/struct.go
    • Line 8: warning: exported type Error should have comment or be unexported (golint)
    • Line 14: warning: exported type DependencyOrigin should have comment or be unexported (golint)
    • Line 21: warning: exported type DependencyDescriptor should have comment or be unexported (golint)
    • Line 28: warning: exported type DependencyContext should have comment or be unexported (golint)
    • Line 48: warning: exported type ParseContext should have comment or be unexported (golint)
    • Line 58: warning: exported type IdentHandle should have comment or be unexported (golint)
    • Line 60: warning: exported method DependencyContext.Reset should have comment or be unexported (golint)
    • gioc/module/operation/condition.go
    • Line 13: warning: exported function Condition should have comment or be unexported (golint)
    • Line 49: warning: exported function HavingBean should have comment or be unexported (golint)
    • Line 53: warning: exported function HavingValue should have comment or be unexported (golint)
    • Line 57: warning: exported function HavingFile should have comment or be unexported (golint)
    • Line 61: warning: exported function Not should have comment or be unexported (golint)
    • Line 72: warning: exported function And should have comment or be unexported (golint)
    • Line 83: warning: exported function Or should have comment or be unexported (golint)
    • Line 94: warning: exported function Equal should have comment or be unexported (golint)
    • gioc/types/const.go
    • Line 6: warning: exported type Token should have comment or be unexported (golint)
    • Line 8: warning: exported type Kind should have comment or be unexported (golint)
    • Line 10: warning: exported type DependencyFlag should have comment or be unexported (golint)
    • Line 12: warning: exported type ErrorCode should have comment or be unexported (golint)
    • Line 16: warning: exported const ErrInstanceNotFound should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported const DEPENDENCY_FLAG_EXTENDS should have comment (or a comment on this block) or be unexported (golint)
    • Line 67: warning: exported const TOKEN_EOF should have comment (or a comment on this block) or be unexported (golint)
    • Line 83: warning: exported const Invalid should have comment (or a comment on this block) or be unexported (golint)
    • gioc/factory/dependency.go
    • Line 12: warning: exported method DependencyFactory.Instance should have comment or be unexported (golint)
    • Line 28: warning: exported method DependencyFactory.Inject should have comment or be unexported (golint)
    • gioc/factory/struct.go
    • Line 12: warning: exported type ValueFactory should have comment or be unexported (golint)
    • Line 17: warning: exported type MethodFactory should have comment or be unexported (golint)
    • Line 23: warning: exported type ProxyFactory should have comment or be unexported (golint)
    • Line 27: warning: exported type ExportFactory should have comment or be unexported (golint)
    • Line 32: warning: exported type MutexFactory should have comment or be unexported (golint)
    • Line 41: warning: exported type PointerFactory should have comment or be unexported (golint)
    • Line 45: warning: exported type ConvertFactory should have comment or be unexported (golint)
    • Line 50: warning: exported type ParamFactory should have comment or be unexported (golint)
    • Line 52: warning: exported type FuncFactory should have comment or be unexported (golint)
    • Line 66: warning: exported type DependencyFactory should have comment or be unexported (golint)
    • gioc/examples/factory/main.go
    • Line 4: warning: should not use dot imports (golint)
    • Line 5: warning: should not use dot imports (golint)
    • Line 6: warning: should not use dot imports (golint)
    • Line 9: warning: comment on exported var ConfigModule should be of the form "ConfigModule ..." (golint)
    • gioc/module/factory.go
    • Line 11: warning: exported function NewWithModule should have comment or be unexported (golint)
    • Line 20: warning: exported function NewModuleFor should have comment or be unexported (golint)
    • Line 29: warning: exported function NewModuleFactory should have comment or be unexported (golint)
    • Line 35: warning: exported function NewModuleForFactory should have comment or be unexported (golint)
    • Line 41: warning: exported method CoreModuleFactory.Instance should have comment or be unexported (golint)
    • Line 45: warning: exported method CoreModuleForFactory.Instance should have comment or be unexported (golint)
    • gioc/examples/depend/main.go
    • Line 4: warning: should not use dot imports (golint)
    • Line 5: warning: should not use dot imports (golint)
    • Line 6: warning: should not use dot imports (golint)
    • Line 9: warning: exported type User should have comment or be unexported (golint)
    • Line 19: warning: comment on exported var ConfigModule should be of the form "ConfigModule ..." (golint)
    • gioc/dependency/handle.go
    • Line 14: warning: exported var DefaultHandle should have comment or be unexported (golint)
    • Line 52: warning: don't use underscores in Go names; func __stringFactory should be _StringFactory (golint)
    • gioc/event/event.go
    • Line 12: warning: exported method CoreEventListener.On should have comment or be unexported (golint)
    • Line 16: warning: exported method CoreEventListener.Emit should have comment or be unexported (golint)
    • Line 20: warning: exported method CoreEventListener.OnWith should have comment or be unexported (golint)
    • Line 26: warning: exported method CoreEventListener.EmitWith should have comment or be unexported (golint)
    • gioc/module/operation/module.go
    • Line 12: warning: exported function Import should have comment or be unexported (golint)
    • Line 22: warning: exported function Join should have comment or be unexported (golint)
    • Line 30: warning: exported function Bootstrap should have comment or be unexported (golint)
    • Line 36: warning: exported function Score should have comment or be unexported (golint)
    • gioc/container/factory.go
    • Line 12: warning: exported function NewWithContainer should have comment or be unexported (golint)
    • Line 38: warning: exported function NewContainer should have comment or be unexported (golint)
    • gioc/utils/error.go
    • Line 11: warning: exported var Recover should have comment or be unexported (golint)
    • Line 12: warning: exported var Panic should have comment or be unexported (golint)
    • Line 14: warning: don't use underscores in Go names; func __recover should be _Recover (golint)
    • Line 30: warning: don't use underscores in Go names; func __panic should be _Panic (golint)
    • gioc/module/operation/base.go
    • Line 19: warning: exported function Dependency should have comment or be unexported (golint)
    • Line 30: warning: exported function Type should have comment or be unexported (golint)
    • Line 36: warning: exported function Id should have comment or be unexported (golint)
    • Line 47: warning: exported function Name should have comment or be unexported (golint)
    • Line 53: warning: exported function Factory should have comment or be unexported (golint)
    • Line 59: warning: exported function Parent should have comment or be unexported (golint)
    • Line 63: warning: exported function Register should have comment or be unexported (golint)
    • Line 83: warning: exported function Provider should have comment or be unexported (golint)
    • gioc/root.go
    • Line 13: warning: should not use dot imports (golint)
    • Line 21: warning: comment on exported function NewRootContainer should be of the form "NewRootContainer ..." (golint)
    • Line 46: warning: comment on exported function NewRootModule should be of the form "NewRootModule ..." (golint)
    • gioc/register/factory.go
    • Line 14: warning: exported function NewRegisterFactory should have comment or be unexported (golint)
    • Line 18: warning: exported function NewRegister should have comment or be unexported (golint)
    • Line 24: warning: exported function NewReadOnlyRegister should have comment or be unexported (golint)
    • gioc/utils/lazy.go
    • Line 11: warning: exported function LazyProxy should have comment or be unexported (golint)
    • Line 32: warning: exported function ApplyProxy should have comment or be unexported (golint)
    • Line 56: warning: exported function Lazy should have comment or be unexported (golint)
    • gioc/invoker/factory.go
    • Line 12: warning: exported function NewInvokerFactory should have comment or be unexported (golint)
    • Line 16: warning: exported method CoreInvokerFactory.Instance should have comment or be unexported (golint)
    • Line 24: warning: exported function NewNoArgsInvoker should have comment or be unexported (golint)
    • Line 32: warning: exported function NewSimpleInvoker should have comment or be unexported (golint)
    • Line 40: warning: exported function NewInvokerWith should have comment or be unexported (golint)
    • gioc/module/operation/event.go
    • Line 10: warning: exported type EventHandle should have comment or be unexported (golint)
    • Line 12: warning: exported function Event should have comment or be unexported (golint)
    • Line 16: warning: exported function EventScore should have comment or be unexported (golint)
    • Line 26: warning: exported function On should have comment or be unexported (golint)
    • Line 32: warning: exported function OnWith should have comment or be unexported (golint)
    • Line 38: warning: exported function Emit should have comment or be unexported (golint)
    • Line 44: warning: exported function EmitWith should have comment or be unexported (golint)
    • gioc/dependency/struct.go
    • Line 12: warning: exported type ResolveHandle should have comment or be unexported (golint)
    • Line 14: warning: exported type CoreDependency should have comment or be unexported (golint)
    • Line 20: warning: exported type CoreDependencyScan should have comment or be unexported (golint)
    • Line 25: warning: exported type CoreDependencyInject should have comment or be unexported (golint)
    • Line 30: warning: exported type CoreDependencyFactory should have comment or be unexported (golint)
    • Line 38: warning: exported type ParamReflect should have comment or be unexported (golint)
    • Line 39: warning: exported type StructReflect should have comment or be unexported (golint)
    • Line 40: warning: exported type ArrayReflect should have comment or be unexported (golint)
    • Line 41: warning: exported type MapReflect should have comment or be unexported (golint)
    • gioc/invoker/simple.go
    • Line 12: warning: exported method SimpleInvoker.Apply should have comment or be unexported (golint)
    • Line 16: warning: exported method SimpleInvoker.ApplyWith should have comment or be unexported (golint)
    • gioc/dependency/factory.go
    • Line 13: warning: exported function NewDependencyFactory should have comment or be unexported (golint)
    • Line 28: warning: exported method CoreDependencyFactory.Instance should have comment or be unexported (golint)
    • Line 46: warning: exported function NewDependency should have comment or be unexported (golint)
    • Line 54: warning: exported function NewStructDependency should have comment or be unexported (golint)
    • Line 58: warning: exported function NewArrayDependency should have comment or be unexported (golint)
    • Line 62: warning: exported function NewMapDependency should have comment or be unexported (golint)
    • Line 66: warning: exported function NewFuncDependency should have comment or be unexported (golint)
    • gioc/event/factory.go
    • Line 8: warning: exported function NewEventListener should have comment or be unexported (golint)
    • Line 15: warning: exported function NewEventListenerWith should have comment or be unexported (golint)
    • gioc/dependency/reflect.go
    • Line 13: warning: exported function NewParamReflect should have comment or be unexported (golint)
    • Line 20: warning: exported function NewStructReflect should have comment or be unexported (golint)
    • Line 27: warning: exported function NewArrayReflect should have comment or be unexported (golint)
    • Line 34: warning: exported function NewMapReflect should have comment or be unexported (golint)
    • Line 41: warning: exported method ParamReflect.Set should have comment or be unexported (golint)
    • Line 45: warning: exported method ParamReflect.Get should have comment or be unexported (golint)
    • Line 49: warning: exported method StructReflect.Set should have comment or be unexported (golint)
    • Line 53: warning: exported method StructReflect.Get should have comment or be unexported (golint)
    • Line 67: warning: exported method ArrayReflect.Set should have comment or be unexported (golint)
    • Line 71: warning: exported method ArrayReflect.Get should have comment or be unexported (golint)
    • Line 75: warning: exported method MapReflect.Set should have comment or be unexported (golint)
    • Line 79: warning: exported method MapReflect.Get should have comment or be unexported (golint)
    • gioc/event/module.go
    • Line 4: warning: should not use dot imports (golint)
    • Line 5: warning: should not use dot imports (golint)
    • Line 9: warning: exported function EventModuleFor should have comment or be unexported (golint)
    • gioc/dependency/scan.go
    • Line 11: warning: exported function NewDependencyScan should have comment or be unexported (golint)
    • Line 18: warning: exported method CoreDependencyScan.Reset should have comment or be unexported (golint)
    • Line 22: warning: exported method CoreDependencyScan.Next should have comment or be unexported (golint)
    • Line 27: warning: exported method CoreDependencyScan.Flags should have comment or be unexported (golint)
    • Line 31: warning: exported method CoreDependencyScan.Index should have comment or be unexported (golint)
    • Line 35: warning: exported method CoreDependencyScan.Type should have comment or be unexported (golint)
    • Line 39: warning: exported method CoreDependencyScan.Factory should have comment or be unexported (golint)
    • gioc/selector/factory.go
    • Line 15: warning: exported function NewSelectorFactory should have comment or be unexported (golint)
    • Line 19: warning: exported function NewReadOnlyFactory should have comment or be unexported (golint)
    • Line 23: warning: exported function NewGeneralSelector should have comment or be unexported (golint)
    • gioc/provider/factory.go
    • Line 10: warning: exported function NewWithProvider should have comment or be unexported (golint)
    • Line 17: warning: exported function NewProviderFactory should have comment or be unexported (golint)
    • gioc/examples/cond/main.go
    • Line 4: warning: should not use dot imports (golint)
    • Line 5: warning: should not use dot imports (golint)
    • Line 6: warning: should not use dot imports (golint)
    • Line 10: warning: comment on exported var ConfigModule should be of the form "ConfigModule ..." (golint)
    • gioc/text/text.go
    • Line 12: warning: exported function NewTextParser should have comment or be unexported (golint)
    • Line 19: warning: exported method CoreTextParser.Resolve should have comment or be unexported (golint)
    • Line 84: warning: exported method CoreTextParser.Invoke should have comment or be unexported (golint)
    • gioc/types/factory.go
    • Line 13: warning: exported type WrapperFactory should have comment or be unexported (golint)
    • Line 18: warning: exported type RawStringFactory should have comment or be unexported (golint)
    • Line 20: warning: exported function NewWrapperFactory should have comment or be unexported (golint)
    • Line 24: warning: exported type NameFactory should have comment or be unexported (golint)
    • Line 26: warning: exported function NewStringFactory should have comment or be unexported (golint)
    • Line 30: warning: exported function NewNameFactory should have comment or be unexported (golint)
    • Line 34: warning: exported method WrapperFactory.Reset should have comment or be unexported (golint)
    • Line 39: warning: exported method WrapperFactory.Append should have comment or be unexported (golint)
    • Line 44: warning: exported method WrapperFactory.Instance should have comment or be unexported (golint)
    • Line 66: warning: exported method RawStringFactory.Instance should have comment or be unexported (golint)
    • Line 70: warning: exported method NameFactory.Instance should have comment or be unexported (golint)
    • gioc/module/operation/declare.go
    • Line 13: warning: exported type DeclareHandle should have comment or be unexported (golint)
    • Line 15: warning: exported function Declare should have comment or be unexported (golint)
    • Line 19: warning: exported function Export should have comment or be unexported (golint)
    • Line 23: warning: exported function Primary should have comment or be unexported (golint)
    • Line 27: warning: exported function Miss should have comment or be unexported (golint)
    • Line 31: warning: exported function PrimaryWith should have comment or be unexported (golint)
    • Line 35: warning: exported function MissWith should have comment or be unexported (golint)
    • gioc/factory/factory_test.go
    • Line 13: warning: don't use underscores in Go names; func test_factory_instance should be testFactoryInstance (golint)
    • Line 25: warning: don't use underscores in Go names; func test_factory should be testFactory (golint)
    • Line 128: warning: don't use underscores in Go names; func test_methodFactory should be testMethodFactory (golint)
    • gioc/examples/method/main.go
    • Line 5: warning: should not use dot imports (golint)
    • Line 6: warning: should not use dot imports (golint)
    • Line 7: warning: should not use dot imports (golint)
    • Line 10: warning: exported type Personal should have comment or be unexported (golint)
    • Line 17: warning: exported type User should have comment or be unexported (golint)
    • Line 23: warning: comment on exported var ConfigModule should be of the form "ConfigModule ..." (golint)
    • gioc/factory/factory.go
    • Line 13: warning: exported function NewValueFactory should have comment or be unexported (golint)
    • Line 23: warning: exported function NewMethodFactory should have comment or be unexported (golint)
    • Line 27: warning: exported function NewProxyFactory should have comment or be unexported (golint)
    • Line 33: warning: exported function NewMutexFactory should have comment or be unexported (golint)
    • Line 39: warning: exported function NewTypeFactory should have comment or be unexported (golint)
    • Line 45: warning: exported function NewSingleFactory should have comment or be unexported (golint)
    • Line 49: warning: exported function NewPointerFactory should have comment or be unexported (golint)
    • Line 55: warning: exported function NewFuncFactory should have comment or be unexported (golint)
    • Line 59: warning: exported function NewParamFactory should have comment or be unexported (golint)
    • Line 63: warning: exported function NewExportFactory should have comment or be unexported (golint)
    • Line 70: warning: exported function NewConvertFactory should have comment or be unexported (golint)
    • Line 77: warning: exported function NewResolveFactory should have comment or be unexported (golint)
    • Line 86: warning: exported function NewChainFactory should have comment or be unexported (golint)
    • Line 99: warning: exported function NewDependencyFactory should have comment or be unexported (golint)
    • Line 111: warning: exported function NewSliceFactory should have comment or be unexported (golint)
    • Line 140: warning: exported function NewLazyFactory should have comment or be unexported (golint)
    • Line 144: warning: exported function NewRequestFactory should have comment or be unexported (golint)
    • Line 150: warning: exported function NewMakeFactory should have comment or be unexported (golint)
    • gioc/dependency/dependency.go
    • Line 14: warning: exported method CoreDependency.Type should have comment or be unexported (golint)
    • Line 18: warning: exported method CoreDependency.Length should have comment or be unexported (golint)
    • Line 22: warning: exported method CoreDependency.AsScan should have comment or be unexported (golint)
    • Line 26: warning: exported method CoreDependency.AsReflect should have comment or be unexported (golint)
    • gioc/invoker/noparam.go
    • Line 12: warning: exported method NoParamInvoker.Apply should have comment or be unexported (golint)
    • Line 16: warning: exported method NoParamInvoker.ApplyWith should have comment or be unexported (golint)
    • gioc/utils/reflect.go
    • Line 10: warning: don't use underscores in Go names; var __valueType should be _ValueType (golint)
    • Line 12: warning: comment on exported function TypeOf should be of the form "TypeOf ..." (golint)
    • Line 30: warning: comment on exported function ValueOf should be of the form "ValueOf ..." (golint)
    • Line 39: warning: comment on exported function IndirectType should be of the form "IndirectType ..." (golint)
    • Line 47: warning: comment on exported function IndirectValue should be of the form "IndirectValue ..." (golint)
    • Line 55: warning: comment on exported function InterfaceOf should be of the form "InterfaceOf ..." (golint)
    • Line 63: warning: comment on exported function NewOf should be of the form "NewOf ..." (golint)
    • Line 73: warning: comment on exported function Convert should be of the form "Convert ..." (golint)
    • Line 87: warning: comment on exported function Elem should be of the form "Elem ..." (golint)
    • Line 98: warning: exported function IsNil should have comment or be unexported (golint)
    • gioc/module/struct.go
    • Line 8: warning: exported type CoreModuleFactory should have comment or be unexported (golint)
    • Line 12: warning: exported type CoreModuleForFactory should have comment or be unexported (golint)
    • Line 16: warning: exported type CoreModule should have comment or be unexported (golint)
    • Line 21: warning: exported type ModuleInitContext should have comment or be unexported (golint)
    • Line 27: warning: exported type ModuleInitHandle should have comment or be unexported (golint)
    • Line 28: warning: exported type ModuleCondHandle should have comment or be unexported (golint)
    • gioc/utils/lock.go
    • Line 6: warning: exported method EmptyLock.Lock should have comment or be unexported (golint)
    • Line 9: warning: exported method EmptyLock.Unlock should have comment or be unexported (golint)
    • gioc/types/error.go
    • Line 28: warning: exported function NewWithError should have comment or be unexported (golint)
    • Line 45: warning: exported function NewError should have comment or be unexported (golint)
    • gioc/module/operation/factory.go
    • Line 14: warning: exported function Singleton should have comment or be unexported (golint)
    • Line 22: warning: exported function Mutex should have comment or be unexported (golint)
    • Line 30: warning: exported function Convert should have comment or be unexported (golint)
    • Line 40: warning: exported function Func should have comment or be unexported (golint)
    • Line 47: warning: exported function Method should have comment or be unexported (golint)
    • Line 51: warning: exported function Method1 should have comment or be unexported (golint)
    • Line 67: warning: exported function Method2 should have comment or be unexported (golint)
    • Line 90: warning: exported function Instance should have comment or be unexported (golint)
    • Line 98: warning: exported function Env should have comment or be unexported (golint)
    • Line 129: warning: exported function New should have comment or be unexported (golint)
    • Line 138: warning: exported function Pointer should have comment or be unexported (golint)
    • gioc/text/factory.go
    • Line 10: warning: exported function NewParamFactory should have comment or be unexported (golint)
    • Line 22: warning: exported function NewTextParserFactory should have comment or be unexported (golint)
    • Line 26: warning: exported function NewTokenScanFactory should have comment or be unexported (golint)
    • Line 30: warning: exported method CoreParamFactory.Instance should have comment or be unexported (golint)
    • Line 38: warning: exported method CoreTextParserFactory.Instance should have comment or be unexported (golint)
    • Line 42: warning: exported method CoreTokenScanFactory.Instance should have comment or be unexported (golint)
    • gioc/text/param.go
    • Line 13: warning: exported function NewParamString should have comment or be unexported (golint)
    • Line 17: warning: exported function NewParamEscapeString should have comment or be unexported (golint)
    • Line 25: warning: exported function NewParamNumber should have comment or be unexported (golint)
    • Line 29: warning: exported function NewParamFloat should have comment or be unexported (golint)
    • Line 33: warning: exported function NewParamNull should have comment or be unexported (golint)
    • Line 41: warning: exported method ParamString.Number should have comment or be unexported (golint)
    • Line 49: warning: exported method ParamString.Float should have comment or be unexported (golint)
    • Line 57: warning: exported method ParamString.Value should have comment or be unexported (golint)
    • Line 61: warning: exported method ParamString.Boolean should have comment or be unexported (golint)
    • Line 65: warning: exported method ParamString.Kind should have comment or be unexported (golint)
    • Line 73: warning: exported method ParamNumber.Number should have comment or be unexported (golint)
    • Line 77: warning: exported method ParamNumber.Float should have comment or be unexported (golint)
    • Line 81: warning: exported method ParamNumber.Boolean should have comment or be unexported (golint)
    • Line 85: warning: exported method ParamNumber.Kind should have comment or be unexported (golint)
    • Line 89: warning: exported method ParamNumber.Value should have comment or be unexported (golint)
    • Line 97: warning: exported method ParamFloat.Number should have comment or be unexported (golint)
    • Line 101: warning: exported method ParamFloat.Float should have comment or be unexported (golint)
    • Line 105: warning: exported method ParamFloat.Boolean should have comment or be unexported (golint)
    • Line 109: warning: exported method ParamFloat.Kind should have comment or be unexported (golint)
    • Line 113: warning: exported method ParamFloat.Value should have comment or be unexported (golint)
    • Line 121: warning: exported method ParamNull.Number should have comment or be unexported (golint)
    • Line 125: warning: exported method ParamNull.Float should have comment or be unexported (golint)
    • Line 129: warning: exported method ParamNull.Boolean should have comment or be unexported (golint)
    • Line 133: warning: exported method ParamNull.Kind should have comment or be unexported (golint)
    • Line 137: warning: exported method ParamNull.Value should have comment or be unexported (golint)
    • gioc/types/types.go
    • Line 4: warning: package comment should be of the form "Package types ..." (golint)
    • Line 15: warning: exported type Param should have comment or be unexported (golint)
    • Line 24: warning: exported type TokenScan should have comment or be unexported (golint)
    • Line 35: warning: exported type TextParser should have comment or be unexported (golint)
    • Line 39: warning: exported type Provider should have comment or be unexported (golint)
    • Line 52: warning: exported type Module should have comment or be unexported (golint)
    • Line 54: warning: exported type ModuleFactory should have comment or be unexported (golint)
    • Line 58: warning: exported type EventListener should have comment or be unexported (golint)
    • Line 65: warning: exported type ParamFactory should have comment or be unexported (golint)
    • Line 70: warning: exported type TokenScanFactory should have comment or be unexported (golint)
    • Line 74: warning: exported type TextParserFactory should have comment or be unexported (golint)
    • Line 79: warning: exported type StringFactory should have comment or be unexported (golint)
    • Line 84: warning: exported type BeanFactory should have comment or be unexported (golint)
    • Line 89: warning: exported type GeneralFactory should have comment or be unexported (golint)
    • Line 97: warning: comment on exported type SelectorSetter should be of the form "SelectorSetter ..." (with optional leading article) (golint)
    • Line 106: warning: comment on exported type SelectorGetter should be of the form "SelectorGetter ..." (with optional leading article) (golint)
    • Line 113: warning: comment on exported type Selector should be of the form "Selector ..." (with optional leading article) (golint)
    • Line 119: warning: comment on exported type ProviderFactory should be of the form "ProviderFactory ..." (with optional leading article) (golint)
    • Line 125: warning: comment on exported type RegisterFactory should be of the form "RegisterFactory ..." (with optional leading article) (golint)
    • Line 131: warning: comment on exported type DependencyFactory should be of the form "DependencyFactory ..." (with optional leading article) (golint)
    • Line 138: warning: comment on exported type SelectorFactory should be of the form "SelectorFactory ..." (with optional leading article) (golint)
    • Line 144: warning: comment on exported type InvokerFactory should be of the form "InvokerFactory ..." (with optional leading article) (golint)
    • Line 150: warning: comment on exported type Register should be of the form "Register ..." (with optional leading article) (golint)
    • Line 167: warning: comment on exported type Container should be of the form "Container ..." (with optional leading article) (golint)
    • Line 177: warning: comment on exported type DependencyScan should be of the form "DependencyScan ..." (with optional leading article) (golint)
    • Line 192: warning: comment on exported type Dependency should be of the form "Dependency ..." (with optional leading article) (golint)
    • Line 204: warning: exported type Indexer should have comment or be unexported (golint)
    • Line 209: warning: exported type ReflectFactory should have comment or be unexported (golint)
    • Line 213: warning: comment on exported type Reflect should be of the form "Reflect ..." (with optional leading article) (golint)
    • Line 221: warning: comment on exported type Invoker should be of the form "Invoker ..." (with optional leading article) (golint)
    • Line 229: warning: exported var Type should have comment or be unexported (golint)
    • Line 230: warning: exported var StringType should have comment or be unexported (golint)
    • Line 231: warning: exported var ErrorType should have comment or be unexported (golint)
    • Line 232: warning: exported var ProviderType should have comment or be unexported (golint)
    • Line 233: warning: exported var BeanFactoryType should have comment or be unexported (golint)
    • Line 234: warning: exported var GeneralFactoryType should have comment or be unexported (golint)
    • gioc/module/operation/struct.go
    • Line 11: warning: exported type DeclareContext should have comment or be unexported (golint)
    • Line 21: warning: exported method DeclareContext.Reset should have comment or be unexported (golint)
    • Line 28: warning: exported type EventContext should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!