Documentation ¶
Index ¶
Constants ¶
View Source
const ( UsedConst = "UsedConst" UnusedConst = "UnusedConst" )
View Source
const (
OnlyUsedInTestConst = "OnlyUsedInTestConst"
)
Variables ¶
View Source
var ( UsedVar = "UsedVar" UnusedVar = "UnusedVar" )
Functions ¶
func UnusedFunction ¶
func UnusedFunction()
func UsedFunction ¶
func UsedFunction()
Types ¶
type MyType ¶
func (MyType) UnusedMethod ¶
func (MyType) UnusedMethod()
func (MyType) UsedMethod ¶
func (MyType) UsedMethod()
type UnusedInterface ¶
type UnusedInterface interface {
UnusedInterfaceReturningInt() int
}
type UsedInterface ¶
type UsedInterface interface {
UsedInterfaceReturningInt() int
}
type UsedInterface2 ¶
type UsedInterface2 interface {
UsedInterface2ReturningInt() int
}
Click to show internal directories.
Click to hide internal directories.