introduce go modules and make minimal changes to make gotty compile

This commit is contained in:
Bohdan Trotsenko 2022-07-23 11:25:00 +03:00
parent ca725a9fdc
commit 1710712286
12 changed files with 95 additions and 75 deletions

View file

@ -7,11 +7,11 @@ import (
"reflect"
"strings"
"github.com/codegangsta/cli"
"github.com/fatih/structs"
"github.com/urfave/cli"
"github.com/yudai/hcl"
"github.com/yudai/gotty/pkg/homedir"
"gotty/pkg/homedir"
)
func GenerateFlags(options ...interface{}) (flags []cli.Flag, mappings map[string]string, err error) {