algo

package
v0.0.0-...-3655d60 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator interface {
	Generate() (string, error)
}

func NewGenerator

func NewGenerator(t types.Type, pkgName string) (g Generator, err error)

type SliceGenerator

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

func NewSliceGenerator

func NewSliceGenerator(tc, tv types.Type, pkgName string) (*SliceGenerator, error)

func (*SliceGenerator) Generate

func (s *SliceGenerator) Generate() (res string, err error)

Jump to

Keyboard shortcuts

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