ginterfaces

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package ginterfaces Copyright (c) 2023 Erich Gatejen LICENSE

Merge api spec json files. It will examine the start file for references to other files and bring in what it needs. It will look both in GINFRA_HOME/ginterfaces and the current working directory for referenced files.

Package ginterfaces Copyright (c) 2023 Erich Gatejen LICENSE

Create client/model/server stubs from an api spec json file. It will first merge any referenced files from the start file. It will look both in GINFRA_HOME/ginterfaces and the current working directory for referenced files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateStubs

func GenerateStubs(interfaceName string, context *app.GContext, mergeFile string) error

func Merge

func Merge(interfaceName string) (map[string]interface{}, error)

func MergeAndSave

func MergeAndSave(interfaceName string) error

func MergeAndSaveToFile

func MergeAndSaveToFile(interfaceName string, filepath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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