...

Package print

import "cmd/vet/testdata/print"
Overview
Index

Overview ▾

func DisableErrorForFlag0

func DisableErrorForFlag0()

TODO: Disable complaint about '0' for Go 1.10. To be fixed properly in 1.11. See issues 23598 and 23605.

func Errorf

func Errorf(i int, format string, args ...interface{})

Errorf is used by the test for a case in which the first parameter is not a format string.

func PointersToCompoundTypes

func PointersToCompoundTypes()

func Printf

func Printf(format string, args ...interface{})

Printf is used by the test so we must declare it.

func PrintfTests

func PrintfTests()

This function never executes, but it serves as a simple test for the program. Test with make test.

func Println

func Println(args ...interface{})

Println is used by the test so we must declare it.

func UnexportedStringerOrError

func UnexportedStringerOrError()

func UnsafePointerPrintfTest

func UnsafePointerPrintfTest()

type BoolFormatter

type BoolFormatter bool

func (*BoolFormatter) Format

func (*BoolFormatter) Format(fmt.State, rune)

type FormatterVal

Formatter with value receiver

type FormatterVal bool

func (FormatterVal) Format

func (FormatterVal) Format(fmt.State, rune)

type RecursiveMap

type RecursiveMap map[int]RecursiveMap

type RecursiveSlice

type RecursiveSlice []RecursiveSlice

type RecursiveStruct

type RecursiveStruct struct {
    // contains filtered or unexported fields
}

type RecursiveStruct1

type RecursiveStruct1 struct {
    // contains filtered or unexported fields
}

type RecursiveStruct2

type RecursiveStruct2 struct {
    // contains filtered or unexported fields
}