pluginprefix

package
v0.0.0-...-e3f2fdf Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Example: pluginprefix shows how to defined a derived function that does not have to start with default "deriveEqual" prefix. in the Makefile we can see the goderive command being called:

goderive --pluginprefix="equal=eq" ./...

This sets the new prefix to "eq".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyStruct

type MyStruct struct {
	Int64     int64
	StringPtr *string
}

func (*MyStruct) Equal

func (this *MyStruct) Equal(that *MyStruct) bool

Jump to

Keyboard shortcuts

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