plugin

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PluginCommand

func PluginCommand(c *cli.Context) error

PluginCommand is the entry of goctl api plugin

Types

type Plugin

type Plugin struct {
	Api         *spec.ApiSpec
	ApiFilePath string
	Style       string
	Dir         string
}

Plugin defines an api plugin

func NewPlugin

func NewPlugin() (*Plugin, error)

NewPlugin returns contextual resources when written in other languages

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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