objectimpl

command
v0.84.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 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