stubs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package stubs embeds the code-generation templates used by the `oni make:*` generators. Embedding them in the CLI binary means generators work from any directory — including a freshly scaffolded project that has no stubs/ folder of its own.

Index

Constants

This section is empty.

Variables

Functions

func Read

func Read(kind string) ([]byte, error)

Read returns the contents of the named stub (e.g. "controller").

Types

This section is empty.

Jump to

Keyboard shortcuts

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