Help us shape the future of Go! Take the 2026 Go Developer Survey

stringer

package
v1.0.0-a3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package stringer provides the functions needed to create the string representation from a Type

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TypeString

func TypeString(typ dgo.Type) string

TypeString produces a string with the go-like syntax for the given type.

func TypeStringOn

func TypeStringOn(typ dgo.Type, w io.Writer)

TypeStringOn produces a string with the go-like syntax for the given type onto the given io.Writer.

func TypeStringWithAliasMap added in v0.4.0

func TypeStringWithAliasMap(typ dgo.Type, am dgo.AliasMap) string

TypeStringWithAliasMap produces a string with the go-like syntax for the given type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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