objectimpl

command
v0.91.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

README

docgen

objectimpl is a tool that generates boilerplate functions for manifest objects in order to implement manifest.Object interface.

It utilizes text/template to generate the code.

Usage

Add the following generate directive to the file that contains the manifest.Object object definition. Replace the <OBJECT_KIND> with the struct name of your object, e.g. Project.

//go:generate go run ../../../internal/cmd/objectimpl <OBJECT_KIND>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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