name

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package name provides internal default implementations of the asyncpi Names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name string) *base

New returns a new concrete name from a string.

func NewHinted

func NewHinted(name, hint string) *hinted

NewHinted returns a new hinted name from a string name and type hint.

Types

type Setter

type Setter interface {
	SetName(string)
}

Setter means a name is mutable (can change Name).

type TypeHinter

type TypeHinter interface {
	TypeHint() string
}

TypeHinter means a name has associated type-hint.

Jump to

Keyboard shortcuts

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