solana

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBindings

func GenerateBindings(
	pathToIdl string,
	programName string,
	outputDir string,
) error

func New

func New(runtimeContext *runtime.Context) *cobra.Command

Types

type Inputs

type Inputs struct {
	ProjectRoot string `validate:"required,dir" cli:"--project-root"`
	Language    string `validate:"required,oneof=go" cli:"--language"`
	IdlPath     string `validate:"required,path_read" cli:"--idl"`
	OutPath     string `validate:"required" cli:"--out"`
}

Directories

Path Synopsis
anchor-go
generator
This file contains all the cre specific code for the generator.
This file contains all the cre specific code for the generator.

Jump to

Keyboard shortcuts

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