Skip to content

controlplane-com/types-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Control Plane Corp. Go Schema

This is a collection of Go types designed to streamline and standardize the data structures used across projects that use our OpenAPI.

Installation

go get github.com/controlplane-com/types-go

Usage

Import the types from github.com/controlplane-com/types-go/pkg/<package> and use them in your Go projects:

package main

import (
    "github.com/controlplane-com/types-go/pkg/base"
    "github.com/controlplane-com/types-go/pkg/gvc"
)

func example() {
    // Use base types
    kind := base.KindGvc

    // Use GVC types
    gvcData := &gvc.Gvc{
        // ... your data
    }
}

About

Control Plane Go type definitions for type-safe API interactions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages