firstpackage

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 1 Imported by: 0

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

type MyType struct {
	UsedField   string
	UnusedField string
}

func (MyType) UnusedMethod

func (MyType) UnusedMethod()

func (MyType) UsedMethod

func (MyType) UsedMethod()

type UnusedInterface

type UnusedInterface interface {
	UnusedInterfaceReturningInt() int
}

type UnusedInterfaceWithUsedAndUnusedMethod

type UnusedInterfaceWithUsedAndUnusedMethod interface {
	UsedInterfaceMethodReturningInt() int
	UnusedInterfaceMethodReturningInt() int
}

type UsedInterface

type UsedInterface interface {
	UsedInterfaceReturningInt() int
}

type UsedInterface2

type UsedInterface2 interface {
	UsedInterface2ReturningInt() int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL