template

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pointer

func Pointer(name string) string

Types

type Arg

type Arg struct {
	Name string
	Type string
}

func (Arg) String

func (a Arg) String() string

type Interface

type Interface struct {
	Name   string
	Inters []string
}

func (Interface) String

func (i Interface) String() string

type Method

type Method struct {
	Receiver    string
	Name        string
	Args        []Arg
	ReturnTypes []string
	Body        string
}

func (Method) String

func (m Method) String() string

Jump to

Keyboard shortcuts

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