package
0.3.4
Repository: https://github.com/jan-xyz/dotfiles.git
Documentation: pkg.go.dev

# README

golang

import "github.com/jan-xyz/dotfiles/internal/plugins/golang"

Package golang is the plugin to install go tools.

Index

type GoModule

GoModule holds the configuration for a go module

type GoModule struct {
    Exe  string
    Path string
}

type Plugin

Plugin holds the information to automatically install go modules.

type Plugin struct {
    Modules   []GoModule
    Commander dotfiles.Commander
}

func (Plugin) Add

func (g Plugin) Add(modules []string) error

Add takes a list of go modules for installation.

func (Plugin) GetMissingPackages

func (g Plugin) GetMissingPackages() ([]string, error)

GetMissingPackages returns a list of configured but not installed go modules.

func (Plugin) Update

func (g Plugin) Update() error

Update updates all currently configured go packages.

Generated by gomarkdoc

# Structs

GoModule holds the configuration for a go module.
Plugin holds the information to automatically install go modules.