attributegetter

package
v3.18.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 5 Imported by: 0

README

AttributeGetter Plugin

The attributegetter plugin is a Goa v3 plugin that generates getter method for each attribute.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(genpkg string, roots []eval.Root, files []*codegen.File) ([]*codegen.File, error)

Types

type MethodPayloadData added in v3.3.1

type MethodPayloadData struct {
	Payload string
	Name    string
	Type    string
	Var     string
}

type MethodResultData added in v3.3.1

type MethodResultData struct {
	Result string
	Name   string
	Type   string
	Var    string
}

Jump to

Keyboard shortcuts

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