golang

package
v0.0.0-...-d97b457 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package golang is the planner for Golang projects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDockerfile

func GenerateDockerfile(meta types.PlanMeta) (string, error)

GenerateDockerfile generates the Dockerfile for Golang projects.

func GetMeta

func GetMeta(opt GetMetaOptions) types.PlanMeta

GetMeta gets the metadata of the Go project.

func NewIdentifier

func NewIdentifier() plan.Identifier

NewIdentifier returns a new Golang identifier.

func NewPacker

func NewPacker() packer.Packer

NewPacker returns a new Golang packer.

Types

type GetMetaOptions

type GetMetaOptions struct {
	Src           afero.Fs
	Config        plan.ImmutableProjectConfiguration
	SubmoduleName string
}

GetMetaOptions is the options for GetMeta.

Jump to

Keyboard shortcuts

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