syncpool_generator

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSyncPoolGenerator

func NewSyncPoolGenerator(pkg *packagex.Package) generate.Generator

Types

type SyncPool

type SyncPool struct {
	PkgPath string
	Name    string
	Value   *generate.Type
	// contains filtered or unexported fields
}

func NewSyncPool

func NewSyncPool(pkgPath, syncPoolDef string) *SyncPool

func (*SyncPool) ObjCode

func (syncPool *SyncPool) ObjCode() *jen.Statement

func (*SyncPool) PreFuncCommon

func (syncPool *SyncPool) PreFuncCommon(funcName string) *jen.Statement

func (*SyncPool) ValueType

func (syncPool *SyncPool) ValueType() jen.Code

func (*SyncPool) WriteToFile

func (syncPool *SyncPool) WriteToFile()

type SyncPoolGenerator

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

func (*SyncPoolGenerator) Scan

func (g *SyncPoolGenerator) Scan(args ...string)

func (*SyncPoolGenerator) WriteToFile

func (g *SyncPoolGenerator) WriteToFile()

Jump to

Keyboard shortcuts

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