├── .env
├── .gitignore
├── tools
├── gen-proj-banner
│ ├── src
│ │ ├── vite-env.d.ts
│ │ ├── main.css
│ │ ├── App.tsx
│ │ ├── main.tsx
│ │ ├── components
│ │ │ └── BannerGenerator.tsx
│ │ └── assets
│ │ │ └── react.svg
│ ├── vite.config.ts
│ ├── tsconfig.json
│ ├── .gitignore
│ ├── tsconfig.node.json
│ ├── index.html
│ ├── .eslintrc.cjs
│ ├── tsconfig.app.json
│ ├── package.json
│ └── public
│ │ └── vite.svg
└── gen_initall.go
├── assets
└── banner.jpg
├── shell
├── shell.go
├── bash
│ └── bash.go
├── zsh
│ └── zsh.go
├── shell_manager.go
└── utils.go
├── main.go
├── Makefile
├── .github
└── workflows
│ └── go.yml
├── env
└── env.go
├── source
├── app
│ ├── docker.go
│ ├── yarn
│ │ └── yarn.go
│ ├── npm
│ │ └── npm.go
│ ├── pip
│ │ └── pip.go
│ ├── homebrew
│ │ └── homebrew.go
│ └── gem
│ │ └── gem.go
├── structs
│ └── structs.go
├── local-source.go
├── registry-manager.go
├── localdata
│ └── localdata.go
├── source.go
└── command.go
├── console
└── console.go
├── common
└── alias
│ └── alias.go
├── cmd
├── command.go
├── run.go
├── change_all.go
├── styles.go
├── change_name_region.go
├── update.go
├── list_all_registry.go
└── list_registry.go
├── go.mod
├── README.md
├── CONTRIBUTING.md
└── go.sum
/.env:
--------------------------------------------------------------------------------
1 | mode=prod
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /source/initall/*
--------------------------------------------------------------------------------
/tools/gen-proj-banner/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/assets/banner.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Sma1lboy/RegTool/HEAD/assets/banner.jpg
--------------------------------------------------------------------------------
/shell/shell.go:
--------------------------------------------------------------------------------
1 | package shell
2 |
3 | type Shell interface {
4 | SetEnv(key, value string) error
5 | }
6 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/src/main.css:
--------------------------------------------------------------------------------
1 | body {
2 | font-family: "Arial", sans-serif;
3 | margin: 0;
4 | padding: 0;
5 | }
6 | html {
7 | }
8 |
--------------------------------------------------------------------------------
/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "regtool/cmd"
5 | "regtool/env"
6 | _ "regtool/source/initall"
7 | )
8 |
9 | func main() {
10 | env.Init()
11 | cmd.Run()
12 | }
13 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/src/App.tsx:
--------------------------------------------------------------------------------
1 | import BannerGenerator from "./components/BannerGenerator";
2 | export const App = () => {
3 | return ;
4 | };
5 | export default App;
6 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/vite.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite'
2 | import react from '@vitejs/plugin-react'
3 |
4 | // https://vitejs.dev/config/
5 | export default defineConfig({
6 | plugins: [react()],
7 | })
8 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "files": [],
3 | "references": [
4 | {
5 | "path": "./tsconfig.app.json"
6 | },
7 | {
8 | "path": "./tsconfig.node.json"
9 | }
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | .PHONY: all generate build
2 |
3 | all: generate build
4 |
5 | generate:
6 | go run tools/gen_initall.go
7 |
8 | build:
9 | go build -o regtool main.go
10 |
11 | install: all
12 | sudo install -m 755 regtool /usr/bin/regtool
--------------------------------------------------------------------------------
/tools/gen-proj-banner/src/main.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import ReactDOM from "react-dom/client";
3 | import App from "./App.tsx";
4 |
5 | import "./main.css";
6 | ReactDOM.createRoot(document.getElementById("root")!).render(
7 |
8 |
9 |
10 | );
11 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | dist
12 | dist-ssr
13 | *.local
14 |
15 | # Editor directories and files
16 | .vscode/*
17 | !.vscode/extensions.json
18 | .idea
19 | .DS_Store
20 | *.suo
21 | *.ntvs*
22 | *.njsproj
23 | *.sln
24 | *.sw?
25 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/tsconfig.node.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": true,
4 | "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
5 | "skipLibCheck": true,
6 | "module": "ESNext",
7 | "moduleResolution": "bundler",
8 | "allowSyntheticDefaultImports": true,
9 | "strict": true,
10 | "noEmit": true
11 | },
12 | "include": ["vite.config.ts"]
13 | }
14 |
--------------------------------------------------------------------------------
/.github/workflows/go.yml:
--------------------------------------------------------------------------------
1 | name: Go Build Check
2 |
3 | on:
4 | push:
5 | branches: [ "main" ]
6 | pull_request:
7 | branches: [ "main" ]
8 |
9 | jobs:
10 | build:
11 | runs-on: ubuntu-latest
12 | steps:
13 | - uses: actions/checkout@v4
14 |
15 | - name: Set up Go
16 | uses: actions/setup-go@v4
17 | with:
18 | go-version: '1.20'
19 |
20 | - name: Run make
21 | run: make
22 |
--------------------------------------------------------------------------------
/env/env.go:
--------------------------------------------------------------------------------
1 | package env
2 |
3 | import (
4 | "os"
5 |
6 | "github.com/joho/godotenv"
7 | )
8 |
9 | const (
10 | DEBUG = "debug"
11 | PROD = "prod"
12 | GO_MODE = "mode"
13 | )
14 |
15 | func Init() {
16 | err := godotenv.Load()
17 | if err != nil {
18 | panic(err) //there is no .env file
19 | }
20 | mode := os.Getenv(GO_MODE)
21 | if mode == "" {
22 | mode = DEBUG
23 | os.Setenv(GO_MODE, mode)
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Vite + React + TS
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/source/app/docker.go:
--------------------------------------------------------------------------------
1 | // source/docker.go
2 | package source
3 |
4 | import (
5 | "fmt"
6 | "os/exec"
7 | )
8 |
9 | func getDockerRegistry() string {
10 | // Replace with the actual command to get Docker registry
11 | cmd := exec.Command("docker", "info", "--format", "{{.RegistryConfig.IndexConfigs}}")
12 | output, err := cmd.Output()
13 | if err != nil {
14 | fmt.Println("Error:", err)
15 | return ""
16 | }
17 | return string(output)
18 | }
19 |
--------------------------------------------------------------------------------
/shell/bash/bash.go:
--------------------------------------------------------------------------------
1 | package bash
2 |
3 | import "regtool/shell"
4 |
5 | type Bash struct{}
6 |
7 | func (b Bash) SetEnv(key, value string) error {
8 | return shell.SetEnvVarToFile(".bashrc", key, value)
9 | }
10 |
11 | func (b Bash) GetEnv(key string) (string, error) {
12 | return shell.GetEnvVarFromFile(".bashrc", key)
13 | }
14 |
15 | // init registers the Bash shell manager.
16 | func init() {
17 | shell.RegisterShell("bash", func() shell.ShellManager {
18 | return Bash{}
19 | })
20 | }
21 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/.eslintrc.cjs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: { browser: true, es2020: true },
4 | extends: [
5 | 'eslint:recommended',
6 | 'plugin:@typescript-eslint/recommended',
7 | 'plugin:react-hooks/recommended',
8 | ],
9 | ignorePatterns: ['dist', '.eslintrc.cjs'],
10 | parser: '@typescript-eslint/parser',
11 | plugins: ['react-refresh'],
12 | rules: {
13 | 'react-refresh/only-export-components': [
14 | 'warn',
15 | { allowConstantExport: true },
16 | ],
17 | },
18 | }
19 |
--------------------------------------------------------------------------------
/source/structs/structs.go:
--------------------------------------------------------------------------------
1 | package structs
2 |
3 | type Region string
4 |
5 | const (
6 | CN Region = "cn"
7 | US Region = "us"
8 | EU Region = "eu"
9 | )
10 |
11 | func StringToRegion(region string) Region {
12 | switch region {
13 | case "cn":
14 | return CN
15 | case "us":
16 | return US
17 | case "eu":
18 | return EU
19 | default:
20 | return ""
21 | }
22 | }
23 |
24 | // RegistrySources is a map of regions to registry regions
25 | type RegistrySources map[Region]RegistryRegionSources
26 |
27 | // RegistryRegionSources is a map of package managers to urls
28 | type RegistryRegionSources map[string][]string
29 |
--------------------------------------------------------------------------------
/shell/zsh/zsh.go:
--------------------------------------------------------------------------------
1 | package zsh
2 |
3 | import "regtool/shell"
4 |
5 | // Zsh represents the zsh shell.
6 | type Zsh struct{}
7 |
8 | // SetEnv writes the environment variable to the zsh configuration file.
9 | func (z Zsh) SetEnv(key, value string) error {
10 | return shell.SetEnvVarToFile(".zshrc", key, value)
11 | }
12 |
13 | // GetEnv reads the environment variable from the zsh configuration file.
14 | func (z Zsh) GetEnv(key string) (string, error) {
15 | return shell.GetEnvVarFromFile(".zshrc", key)
16 | }
17 |
18 | // init registers the Zsh shell manager.
19 | func init() {
20 | shell.RegisterShell("zsh", func() shell.ShellManager {
21 | return Zsh{}
22 | })
23 | }
24 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": true,
4 | "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
5 | "target": "ES2020",
6 | "useDefineForClassFields": true,
7 | "lib": ["ES2020", "DOM", "DOM.Iterable"],
8 | "module": "ESNext",
9 | "skipLibCheck": true,
10 |
11 | /* Bundler mode */
12 | "moduleResolution": "bundler",
13 | "allowImportingTsExtensions": true,
14 | "resolveJsonModule": true,
15 | "isolatedModules": true,
16 | "moduleDetection": "force",
17 | "noEmit": true,
18 | "jsx": "react-jsx",
19 |
20 | /* Linting */
21 | "strict": true,
22 | "noUnusedLocals": true,
23 | "noUnusedParameters": true,
24 | "noFallthroughCasesInSwitch": true
25 | },
26 | "include": ["src"]
27 | }
28 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "gen-proj-banner",
3 | "private": true,
4 | "version": "0.0.0",
5 | "type": "module",
6 | "scripts": {
7 | "dev": "vite",
8 | "build": "tsc -b && vite build",
9 | "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
10 | "preview": "vite preview"
11 | },
12 | "dependencies": {
13 | "fortawesome": "^0.0.1-security",
14 | "react": "^18.3.1",
15 | "react-dom": "^18.3.1",
16 | "simple-icons": "^13.1.0",
17 | "super-tiny-icons": "^0.6.0"
18 | },
19 | "devDependencies": {
20 | "@types/react": "^18.3.3",
21 | "@types/react-dom": "^18.3.0",
22 | "@typescript-eslint/eslint-plugin": "^7.15.0",
23 | "@typescript-eslint/parser": "^7.15.0",
24 | "@vitejs/plugin-react": "^4.3.1",
25 | "eslint": "^8.57.0",
26 | "eslint-plugin-react-hooks": "^4.6.2",
27 | "eslint-plugin-react-refresh": "^0.4.7",
28 | "typescript": "^5.2.2",
29 | "vite": "^5.3.4"
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/source/local-source.go:
--------------------------------------------------------------------------------
1 | package source
2 |
3 | import (
4 | "fmt"
5 | "regtool/source/localdata"
6 | )
7 |
8 | // Convert map[Name]Source
9 | func convertLocalSources(sources map[string]string) map[string]Source {
10 | if SOURCES == nil {
11 | SOURCES, _ = GetRemoteSourcesMap()
12 | //TODO: handle if networking error
13 | }
14 |
15 | result := make(map[string]Source)
16 | for name, url := range sources {
17 | if SOURCES[url] != (Source{}) {
18 | result[name] = Source{
19 | Region: SOURCES[url].Region,
20 | Url: SOURCES[url].Url,
21 | Name: SOURCES[url].Name,
22 | }
23 | } else {
24 | result[name] = Source{
25 | Region: "local",
26 | Url: url,
27 | Name: name,
28 | }
29 | }
30 | }
31 | return result
32 | }
33 |
34 | func GetLocalSourcesMap() (map[string]Source, error) {
35 | sources, err := localdata.ReadBackupFile()
36 | if err != nil {
37 | return nil, fmt.Errorf("failed to read backup file: %v", err)
38 | }
39 | return convertLocalSources(sources), nil
40 | }
41 |
--------------------------------------------------------------------------------
/shell/shell_manager.go:
--------------------------------------------------------------------------------
1 | package shell
2 |
3 | import (
4 | "fmt"
5 | "os"
6 | "strings"
7 | )
8 |
9 | // ShellManager is an interface for setting and getting environment variables in shell configuration files.
10 | type ShellManager interface {
11 | SetEnv(key, value string) error
12 | GetEnv(key string) (string, error)
13 | }
14 |
15 | // ShellFactory is a function type that returns a new ShellManager.
16 | type ShellFactory func() ShellManager
17 |
18 | // shellFactories holds a map of shell names to their corresponding factory functions.
19 | var shellFactories = map[string]ShellFactory{}
20 |
21 | // RegisterShell registers a new shell factory.
22 | func RegisterShell(name string, factory ShellFactory) {
23 | shellFactories[name] = factory
24 | }
25 |
26 | // NewShellManager creates a new ShellManager based on the current shell.
27 | func NewShellManager() (ShellManager, error) {
28 | shell := os.Getenv("SHELL")
29 | for name, factory := range shellFactories {
30 | if strings.Contains(shell, name) {
31 | return factory(), nil
32 | }
33 | }
34 | return nil, fmt.Errorf("unsupported shell: %s", shell)
35 | }
36 |
--------------------------------------------------------------------------------
/source/registry-manager.go:
--------------------------------------------------------------------------------
1 | package source
2 |
3 | import "regtool/source/structs"
4 |
5 | // AppManager is an interface for managing registries.
6 | // This interface defines methods to get the current registry URL and set the registry URL based on a specified region and sources.
7 | type AppManager interface {
8 |
9 | // GetCurrRegistry retrieves the current registry URL.
10 | // Returns:
11 | // - string: The current registry URL.
12 | // - error: An error if there is an issue retrieving the URL.
13 | GetCurrRegistry() (string, error)
14 |
15 | // SetRegistry sets the registry URL based on the specified region and sources.
16 | // This method needs to be implemented differently depending on the operating system.
17 | // Parameters:
18 | // - region: The specified region for which the registry URL should be set.
19 | // - sources: A pointer to a RegistrySources struct containing mappings of regions to their respective URLs.
20 | // Returns:
21 | // - string: A message indicating the result of the operation.
22 | // - error: An error if there is an issue setting the registry URL.
23 | SetRegistry(region structs.Region, sources *structs.RegistrySources) (string, error)
24 |
25 | //check is this App exists
26 | IsExists() bool
27 | }
28 |
--------------------------------------------------------------------------------
/console/console.go:
--------------------------------------------------------------------------------
1 | package console
2 |
3 | import (
4 | "fmt"
5 | "os"
6 | "regtool/env"
7 | "strings"
8 | )
9 |
10 | var Color = struct {
11 | Reset string
12 | Red string
13 | Green string
14 | Yellow string
15 | Blue string
16 | Purple string
17 | Cyan string
18 | White string
19 | }{
20 | Reset: "\033[0m",
21 | Red: "\033[31m",
22 | Green: "\033[32m",
23 | Yellow: "\033[33m",
24 | Blue: "\033[34m",
25 | Purple: "\033[35m",
26 | Cyan: "\033[36m",
27 | White: "\033[37m",
28 | }
29 |
30 | func Println(color string, messages ...string) {
31 | message := strings.Join(messages, " ")
32 | fmt.Println(color + message + Color.Reset)
33 | }
34 | func Print(color string, messages ...string) {
35 | message := strings.Join(messages, " ")
36 | fmt.Print(color + message + Color.Reset)
37 | }
38 |
39 | func Printf(color string, format string, a ...interface{}) {
40 | fmt.Printf(color+format+Color.Reset, a...)
41 | }
42 |
43 | func Success(messages ...string) {
44 | Println(Color.Green, messages...)
45 | }
46 |
47 | func Error(messages ...string) {
48 | Println(Color.Red, messages...)
49 | }
50 |
51 | func Warning(messages ...string) {
52 | Println(Color.Yellow, messages...)
53 | }
54 |
55 | func Info(messages ...string) {
56 | Println(Color.Blue, messages...)
57 | }
58 |
59 | func Debug(messages ...string) {
60 | if os.Getenv(env.GO_MODE) != env.DEBUG {
61 | return
62 | }
63 | Println(Color.Purple, messages...)
64 | }
65 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/public/vite.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/common/alias/alias.go:
--------------------------------------------------------------------------------
1 | package alias
2 |
3 | // AliasManager manages primary names and their aliases
4 | type AliasManager struct {
5 | primaryToAliases map[string][]string
6 | aliasToPrimary map[string]string
7 | }
8 |
9 | // newAliasManager creates a new AliasManager
10 | func newAliasManager() *AliasManager {
11 | return &AliasManager{
12 | primaryToAliases: make(map[string][]string),
13 | aliasToPrimary: make(map[string]string),
14 | }
15 | }
16 |
17 | // manager is the global instance of AliasManager
18 | var manager = newAliasManager()
19 |
20 | // RegisterAlias registers a primary name with its aliases
21 | func RegisterAlias(primary string, aliases []string) {
22 | manager.primaryToAliases[primary] = aliases
23 | manager.aliasToPrimary[primary] = primary
24 | for _, alias := range aliases {
25 | manager.aliasToPrimary[alias] = primary
26 | }
27 | }
28 |
29 | // GetPrimary returns the primary name for a given alias
30 | func GetPrimary(alias string) string {
31 | if primary, ok := manager.aliasToPrimary[alias]; ok {
32 | return primary
33 | }
34 | return alias
35 | }
36 |
37 | // GetAllAliases returns all aliases for a given primary name
38 | func GetAllAliases(primary string) []string {
39 | if aliases, ok := manager.primaryToAliases[primary]; ok {
40 | return aliases
41 | }
42 | return []string{}
43 | }
44 | func GetAllPrimary() []string {
45 | res := make([]string, 0)
46 | for k := range manager.primaryToAliases {
47 | res = append(res, k)
48 | }
49 | return res
50 | }
51 |
--------------------------------------------------------------------------------
/source/app/yarn/yarn.go:
--------------------------------------------------------------------------------
1 | package yarn
2 |
3 | import (
4 | "fmt"
5 | "os/exec"
6 | "regtool/common/alias"
7 | "regtool/source"
8 | "regtool/source/structs"
9 | "strings"
10 | )
11 |
12 | type YarnRegistryManager struct{}
13 |
14 | func (n YarnRegistryManager) GetCurrRegistry() (string, error) {
15 | cmd := exec.Command("yarn", "config", "get", "registry")
16 | output, err := cmd.Output()
17 | if err != nil {
18 | fmt.Println("Error:", err)
19 | return "", err
20 | }
21 | return strings.TrimSpace(string(output)), nil
22 | }
23 |
24 | func (n YarnRegistryManager) SetRegistry(region structs.Region, sources *structs.RegistrySources) (string, error) {
25 | if sources == nil {
26 | return "", fmt.Errorf("sources is nil")
27 | }
28 | regionSources, ok := (*sources)[region]
29 | if !ok {
30 | return "", fmt.Errorf("unsupported region: %s", region)
31 | }
32 |
33 | source, ok := regionSources["npm"]
34 | if !ok || len(source) == 0 {
35 | return "", fmt.Errorf("npm sources not found for region: %s", region)
36 | }
37 |
38 | res := source[0]
39 |
40 | c := exec.Command("yarn", "config", "set", "registry", res)
41 | _, err := c.Output()
42 | if err != nil {
43 | fmt.Println("Error:", err)
44 | return "", err
45 | }
46 | return res, nil
47 | }
48 | func (n YarnRegistryManager) IsExists() bool {
49 |
50 | _, err := exec.Command("yarn", "config", "get", "registry").Output()
51 |
52 | return err == nil
53 | }
54 |
55 | func init() {
56 | alias.RegisterAlias("yarn", []string{})
57 | source.RegisterManager([]string{"yarn"}, YarnRegistryManager{})
58 | }
59 |
--------------------------------------------------------------------------------
/source/app/npm/npm.go:
--------------------------------------------------------------------------------
1 | // source/npm.go
2 | package npm
3 |
4 | import (
5 | "fmt"
6 | "os/exec"
7 | "regtool/common/alias"
8 | "regtool/source"
9 | "regtool/source/structs"
10 | "strings"
11 | )
12 |
13 | type NpmRegistryManager struct{}
14 |
15 | func (n NpmRegistryManager) GetCurrRegistry() (string, error) {
16 | cmd := exec.Command("npm", "config", "get", "registry")
17 | output, err := cmd.Output()
18 | if err != nil {
19 | fmt.Println("Error:", err)
20 | return "", err
21 | }
22 | return strings.TrimSpace(string(output)), nil
23 | }
24 |
25 | func (n NpmRegistryManager) SetRegistry(region structs.Region, sources *structs.RegistrySources) (string, error) {
26 | if sources == nil {
27 | return "", fmt.Errorf("sources is nil")
28 | }
29 | regionSources, ok := (*sources)[region]
30 | if !ok {
31 | return "", fmt.Errorf("unsupported region: %s", region)
32 | }
33 |
34 | npmSources, ok := regionSources["npm"]
35 | if !ok || len(npmSources) == 0 {
36 | return "", fmt.Errorf("npm sources not found for region: %s", region)
37 | }
38 |
39 | res := npmSources[0]
40 |
41 | c := exec.Command("npm", "config", "set", "registry", res)
42 | _, err := c.Output()
43 | if err != nil {
44 | fmt.Println("Error:", err)
45 | return "", err
46 | }
47 | return res, nil
48 | }
49 | func (n NpmRegistryManager) IsExists() bool {
50 |
51 | _, err := exec.Command("npm", "config", "get", "registry").Output()
52 |
53 | return err == nil
54 | }
55 |
56 | func init() {
57 | alias.RegisterAlias("npm", []string{})
58 | source.RegisterManager([]string{"npm"}, NpmRegistryManager{})
59 | }
60 |
--------------------------------------------------------------------------------
/source/app/pip/pip.go:
--------------------------------------------------------------------------------
1 | package pip
2 |
3 | import (
4 | "fmt"
5 | "os/exec"
6 | "regtool/common/alias"
7 | "regtool/source"
8 | "regtool/source/structs"
9 | "strings"
10 | )
11 |
12 | type PipRegistryManager struct{}
13 |
14 | func (n PipRegistryManager) GetCurrRegistry() (string, error) {
15 | cmd := exec.Command("pip", "config", "get", "global.index-url")
16 | output, err := cmd.Output()
17 | if err != nil {
18 | fmt.Println("Error:", err)
19 | return "", err
20 | }
21 | return strings.TrimSpace(string(output)), nil
22 | }
23 |
24 | func (n PipRegistryManager) SetRegistry(region structs.Region, sources *structs.RegistrySources) (string, error) {
25 | if sources == nil {
26 | return "", fmt.Errorf("sources is nil")
27 | }
28 | regionSources, ok := (*sources)[region]
29 | if !ok {
30 | return "", fmt.Errorf("unsupported region: %s", region)
31 | }
32 |
33 | source, ok := regionSources["npm"]
34 | if !ok || len(source) == 0 {
35 | return "", fmt.Errorf("npm sources not found for region: %s", region)
36 | }
37 |
38 | res := source[0]
39 |
40 | fmt.Println(res)
41 | c := exec.Command("pip", "config", "set", "global.index-url", res)
42 | _, err := c.Output()
43 | if err != nil {
44 | fmt.Println("Error:", err)
45 | return "", err
46 | }
47 | return res, nil
48 | }
49 | func (n PipRegistryManager) IsExists() bool {
50 |
51 | _, err := exec.Command("pip", "config", "get", "global.index-url").Output()
52 |
53 | return err == nil
54 | }
55 |
56 | func init() {
57 | alias.RegisterAlias("pip", []string{})
58 | source.RegisterManager([]string{"pip"}, PipRegistryManager{})
59 | }
60 |
--------------------------------------------------------------------------------
/cmd/command.go:
--------------------------------------------------------------------------------
1 | package cmd
2 |
3 | import (
4 | "sort"
5 |
6 | tea "github.com/charmbracelet/bubbletea"
7 | )
8 |
9 | type Command interface {
10 | Init() tea.Cmd
11 | Update(tea.Msg) (tea.Model, tea.Cmd)
12 | View() string
13 | }
14 |
15 | type CommandInfo struct {
16 | Name string
17 | Description string
18 | Command Command
19 | }
20 |
21 | var commandRegistry = map[string]CommandInfo{}
22 |
23 | const mainMenuName = "mainMenu"
24 |
25 | func RegisterCommand(name, description string, cmd Command) {
26 | commandRegistry[name] = CommandInfo{
27 | Name: name,
28 | Description: description,
29 | Command: cmd,
30 | }
31 | }
32 |
33 | func GetCommand(name string) (tea.Model, tea.Cmd) {
34 | info, exists := commandRegistry[name]
35 | if !exists {
36 | return nil, nil
37 | }
38 | return info.Command, info.Command.Init()
39 | }
40 |
41 | func ListCommandDescriptions() []string {
42 | keys := make([]string, 0, len(commandRegistry))
43 | for key := range commandRegistry {
44 | if key != mainMenuName {
45 | keys = append(keys, key)
46 | }
47 | }
48 | sort.Strings(keys)
49 | descriptions := make([]string, len(keys))
50 | for i, key := range keys {
51 | descriptions[i] = commandRegistry[key].Description
52 | }
53 | return descriptions
54 | }
55 |
56 | func ListCommandNames() []string {
57 | keys := make([]string, 0, len(commandRegistry))
58 | for key := range commandRegistry {
59 | if key != mainMenuName {
60 | keys = append(keys, key)
61 | }
62 | }
63 | sort.Strings(keys)
64 | names := make([]string, len(keys))
65 | for i, key := range keys {
66 | names[i] = commandRegistry[key].Name
67 | }
68 | return names
69 | }
70 |
--------------------------------------------------------------------------------
/tools/gen_initall.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "fmt"
5 | "io/fs"
6 | "log"
7 | "os"
8 | "path/filepath"
9 | "strings"
10 | )
11 |
12 | func main() {
13 | sourceDir := "./source/app"
14 | initAllFile := "./source/initall/initall.go"
15 |
16 | // Ensure the initall directory exists
17 | if err := os.MkdirAll(filepath.Dir(initAllFile), 0755); err != nil {
18 | log.Fatalf("Failed to create directory: %v", err)
19 | }
20 |
21 | // Open initall.go file for writing
22 | file, err := os.Create(initAllFile)
23 | if err != nil {
24 | log.Fatalf("Failed to create file: %v", err)
25 | }
26 | defer file.Close()
27 |
28 | // Write package declaration
29 | if _, err := file.WriteString("package initall\n\nimport (\n"); err != nil {
30 | log.Fatalf("Failed to write to file: %v", err)
31 | }
32 |
33 | // Walk through the source directory
34 | err = filepath.WalkDir(sourceDir, func(path string, d fs.DirEntry, err error) error {
35 | if err != nil {
36 | return err
37 | }
38 |
39 | // Check if the path is a directory and contains a Go file
40 | if d.IsDir() && path != sourceDir {
41 | files, err := os.ReadDir(path)
42 | if err != nil {
43 | return err
44 | }
45 | for _, fileInfo := range files {
46 | if strings.HasSuffix(fileInfo.Name(), ".go") {
47 | relativePath := strings.TrimPrefix(path, sourceDir+"/")
48 | importPath := fmt.Sprintf("_ \"regtool/%s\"\n", relativePath)
49 | if _, err := file.WriteString(importPath); err != nil {
50 | log.Fatalf("Failed to write to file: %v", err)
51 | }
52 | break
53 | }
54 | }
55 | }
56 | return nil
57 | })
58 |
59 | if err != nil {
60 | log.Fatalf("Error walking the path %q: %v\n", sourceDir, err)
61 | }
62 |
63 | // Write closing parenthesis
64 | if _, err := file.WriteString(")\n"); err != nil {
65 | log.Fatalf("Failed to write to file: %v", err)
66 | }
67 |
68 | fmt.Println("initall.go file generated successfully.")
69 | }
70 |
--------------------------------------------------------------------------------
/cmd/run.go:
--------------------------------------------------------------------------------
1 | package cmd
2 |
3 | import (
4 | "fmt"
5 | "os"
6 | "strings"
7 |
8 | tea "github.com/charmbracelet/bubbletea"
9 | )
10 |
11 | var (
12 | regions = []string{"us", "cn", "eu", "jp"}
13 | )
14 |
15 | type mainMenuModel struct {
16 | cursor int
17 | choices []string
18 | names []string
19 | width int
20 | }
21 |
22 | func newMainMenuModel() mainMenuModel {
23 | return mainMenuModel{
24 | choices: ListCommandDescriptions(),
25 | names: ListCommandNames(),
26 | width: 80,
27 | }
28 | }
29 |
30 | func (m mainMenuModel) Init() tea.Cmd {
31 | return nil
32 | }
33 |
34 | func (m mainMenuModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
35 | switch msg := msg.(type) {
36 | case tea.WindowSizeMsg:
37 | m.width = msg.Width
38 | case tea.KeyMsg:
39 | switch msg.String() {
40 | case "q", "ctrl+c":
41 | return m, tea.Quit
42 | case "up", "k":
43 | m.cursor--
44 | if m.cursor < 0 {
45 | m.cursor = len(m.choices) - 1
46 | }
47 | case "down", "j":
48 | m.cursor++
49 | if m.cursor >= len(m.choices) {
50 | m.cursor = 0
51 | }
52 | case "enter", " ":
53 | cmd, initCmd := GetCommand(m.names[m.cursor])
54 | if cmd != nil {
55 | return cmd, initCmd
56 | }
57 | }
58 | }
59 | return m, nil
60 | }
61 |
62 | func (m mainMenuModel) View() string {
63 | doc := strings.Builder{}
64 |
65 | // Title
66 | doc.WriteString(GetStyledTitle("RegistryHub") + "\n")
67 |
68 | // Menu options
69 | for i, choice := range m.choices {
70 | doc.WriteString(GetStyledOption(choice, m.cursor == i) + "\n")
71 | }
72 |
73 | // Quit instruction
74 | doc.WriteString("\n" + GetStyledQuitText())
75 |
76 | return borderedBox(doc.String())
77 | }
78 | func Run() {
79 | RegisterCommand(mainMenuName, "Main Menu", newMainMenuModel())
80 | p := tea.NewProgram(newMainMenuModel())
81 | if _, err := p.Run(); err != nil {
82 | fmt.Fprintf(os.Stderr, errorStyle.Render(fmt.Sprintf("Error: %v\n", err)))
83 | os.Exit(1)
84 | }
85 | }
86 |
--------------------------------------------------------------------------------
/go.mod:
--------------------------------------------------------------------------------
1 | module regtool
2 |
3 | go 1.19
4 |
5 | require github.com/spf13/cobra-cli v1.3.0
6 |
7 | require (
8 | github.com/atotto/clipboard v0.1.4 // indirect
9 | github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
10 | github.com/charmbracelet/bubbles v0.18.0 // indirect
11 | github.com/charmbracelet/bubbletea v0.26.6 // indirect
12 | github.com/charmbracelet/harmonica v0.2.0 // indirect
13 | github.com/charmbracelet/lipgloss v0.9.1 // indirect
14 | github.com/charmbracelet/x/ansi v0.1.2 // indirect
15 | github.com/charmbracelet/x/input v0.1.0 // indirect
16 | github.com/charmbracelet/x/term v0.1.1 // indirect
17 | github.com/charmbracelet/x/windows v0.1.0 // indirect
18 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
19 | github.com/fatih/color v1.17.0 // indirect
20 | github.com/fsnotify/fsnotify v1.5.1 // indirect
21 | github.com/hashicorp/hcl v1.0.0 // indirect
22 | github.com/inconshreveable/mousetrap v1.1.0 // indirect
23 | github.com/joho/godotenv v1.5.1 // indirect
24 | github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
25 | github.com/magiconair/properties v1.8.5 // indirect
26 | github.com/mattn/go-colorable v0.1.13 // indirect
27 | github.com/mattn/go-isatty v0.0.20 // indirect
28 | github.com/mattn/go-localereader v0.0.1 // indirect
29 | github.com/mattn/go-runewidth v0.0.15 // indirect
30 | github.com/mitchellh/mapstructure v1.4.3 // indirect
31 | github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
32 | github.com/muesli/cancelreader v0.2.2 // indirect
33 | github.com/muesli/reflow v0.3.0 // indirect
34 | github.com/muesli/termenv v0.15.2 // indirect
35 | github.com/pelletier/go-toml v1.9.4 // indirect
36 | github.com/rivo/uniseg v0.4.7 // indirect
37 | github.com/spf13/afero v1.6.0 // indirect
38 | github.com/spf13/cast v1.4.1 // indirect
39 | github.com/spf13/cobra v1.8.0 // indirect
40 | github.com/spf13/jwalterweatherman v1.1.0 // indirect
41 | github.com/spf13/pflag v1.0.5 // indirect
42 | github.com/spf13/viper v1.10.1 // indirect
43 | github.com/subosito/gotenv v1.2.0 // indirect
44 | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
45 | golang.org/x/sync v0.7.0 // indirect
46 | golang.org/x/sys v0.21.0 // indirect
47 | golang.org/x/text v0.3.8 // indirect
48 | gopkg.in/ini.v1 v1.66.2 // indirect
49 | gopkg.in/yaml.v2 v2.4.0 // indirect
50 | )
51 |
--------------------------------------------------------------------------------
/cmd/change_all.go:
--------------------------------------------------------------------------------
1 | package cmd
2 |
3 | import (
4 | "fmt"
5 | "regtool/source"
6 |
7 | tea "github.com/charmbracelet/bubbletea"
8 | "github.com/fatih/color"
9 | )
10 |
11 | type changeAllModel struct {
12 | cursor int
13 | region string
14 | stage int
15 | successMsg string
16 | }
17 |
18 | func (m changeAllModel) Init() tea.Cmd {
19 | return nil
20 | }
21 |
22 | func (m changeAllModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
23 | switch msg := msg.(type) {
24 | case tea.KeyMsg:
25 | switch msg.String() {
26 | case "q", "esc", "ctrl+c":
27 | return GetCommand("mainMenu")
28 | case "enter":
29 | if m.stage == 0 {
30 | m.region = regions[m.cursor]
31 | m.stage = 1
32 | return m, nil
33 | } else if m.stage == 1 {
34 | // Execute the change all operation
35 | err := source.ChangeAllRegistry(m.region, nil)
36 | if err != nil {
37 | m.successMsg = fmt.Sprintf("Error: Failed to change all apps to the %s region\n%s", m.region, err)
38 | } else {
39 | m.successMsg = fmt.Sprintf("Successfully changed all apps to region %s", m.region)
40 | }
41 | m.stage = 2
42 | return m, nil
43 | } else if m.stage == 2 {
44 | return GetCommand("mainMenu")
45 | }
46 | case "up", "k":
47 | if m.stage == 0 && m.cursor > 0 {
48 | m.cursor--
49 | }
50 | case "down", "j":
51 | if m.stage == 0 && m.cursor < len(regions)-1 {
52 | m.cursor++
53 | }
54 | }
55 | }
56 | return m, nil
57 | }
58 |
59 | func (m changeAllModel) View() string {
60 | switch m.stage {
61 | case 0:
62 | s := "Change All to Region\n\nSelect a region:\n\n"
63 | for i, region := range regions {
64 | cursor := " "
65 | line := region
66 | if m.cursor == i {
67 | cursor = ">"
68 | boldBlue := color.New(color.FgBlue).Add(color.Bold)
69 | line = boldBlue.Sprintf(region)
70 | }
71 | s += fmt.Sprintf("%s %s\n", cursor, line)
72 | }
73 | s += "\nPress 'enter' to confirm, 'q' to go back.\n"
74 | return s
75 | case 1:
76 | return fmt.Sprintf(
77 | "Change All to Region\n\nSelected Region: %s\n\nPress 'enter' to apply change to all apps, 'q' to go back.\n",
78 | m.region,
79 | )
80 | case 2:
81 | return fmt.Sprintf(
82 | "%s\n\nPress 'enter' to return to main menu.\n",
83 | m.successMsg,
84 | )
85 | default:
86 | return "Unexpected stage."
87 | }
88 | }
89 |
90 | func init() {
91 | RegisterCommand("changeAll", "Change All to Region", changeAllModel{})
92 | }
93 |
--------------------------------------------------------------------------------
/source/app/homebrew/homebrew.go:
--------------------------------------------------------------------------------
1 | package source
2 |
3 | import (
4 | "fmt"
5 | "os/exec"
6 | "regtool/common/alias"
7 | "regtool/shell"
8 | "regtool/source"
9 | "regtool/source/structs"
10 | "strings"
11 | )
12 |
13 | // HomebrewRegistryManager manages the Homebrew registry
14 | type HomebrewRegistryManager struct{}
15 |
16 | // GetCurrRegistry gets the current Homebrew registry
17 | func (h HomebrewRegistryManager) GetCurrRegistry() (string, error) {
18 | cmd := exec.Command("brew", "config")
19 | output, err := cmd.Output()
20 | if err != nil {
21 | return "", fmt.Errorf("error running brew config: %w", err)
22 | }
23 |
24 | lines := strings.Split(string(output), "\n")
25 | for _, line := range lines {
26 | if strings.HasPrefix(line, "HOMEBREW_API_DOMAIN:") {
27 | return strings.TrimSpace(strings.Split(line, ":")[1]), nil
28 | }
29 | }
30 | return "", fmt.Errorf("HOMEBREW_API_DOMAIN not found in brew config")
31 | }
32 |
33 | // SetRegistry sets the Homebrew registry to the specified URLs from the given region
34 | func (h HomebrewRegistryManager) SetRegistry(region structs.Region, sources *structs.RegistrySources) (string, error) {
35 | regionSources, ok := (*sources)[region]
36 | if !ok {
37 | return "", fmt.Errorf("unsupported region: %s", region)
38 | }
39 |
40 | envVars := []string{
41 | "HOMEBREW_API_DOMAIN",
42 | "HOMEBREW_BOTTLE_DOMAIN",
43 | "HOMEBREW_BREW_GIT_REMOTE",
44 | "HOMEBREW_CORE_GIT_REMOTE",
45 | "HOMEBREW_PIP_INDEX_URL",
46 | }
47 |
48 | for _, envVar := range envVars {
49 | urls, ok := regionSources[strings.ToLower(envVar)]
50 | if !ok || len(urls) == 0 {
51 | return "", fmt.Errorf("%s not found for region: %s", envVar, region)
52 | }
53 |
54 | shell, err2 := shell.NewShellManager()
55 | if err2 != nil {
56 | return "", fmt.Errorf("unsupport shell: %w", err2)
57 | }
58 |
59 | err := shell.SetEnv(envVar, urls[0])
60 | if err != nil {
61 | return "", fmt.Errorf("error setting %s: %w", envVar, err)
62 | }
63 | }
64 |
65 | cmd := exec.Command("brew", "update")
66 | output, err := cmd.CombinedOutput()
67 | if err != nil {
68 | return "", fmt.Errorf("error running brew update: %w\n%s", err, string(output))
69 | }
70 |
71 | return "Homebrew registry set successfully", nil
72 | }
73 |
74 | func (h HomebrewRegistryManager) IsExists() bool {
75 | err := exec.Command("brew", "config").Run()
76 | return err == nil
77 | }
78 |
79 | func init() {
80 | alias.RegisterAlias("homebrew", []string{"brew"})
81 |
82 | // Register other aliases here
83 | source.RegisterManager([]string{"homebrew", "brew"}, HomebrewRegistryManager{})
84 | }
85 |
--------------------------------------------------------------------------------
/cmd/styles.go:
--------------------------------------------------------------------------------
1 | package cmd
2 |
3 | import (
4 | "github.com/charmbracelet/lipgloss"
5 | )
6 |
7 | var (
8 | // Colors
9 | primaryColor = lipgloss.Color("#61AFEF")
10 | bgColor = lipgloss.Color("#282C34")
11 | textColor = lipgloss.Color("#ABB2BF")
12 | selectedColor = lipgloss.Color("#98C379")
13 | unselectedColor = lipgloss.Color("#3E4451")
14 | accentColor = lipgloss.Color("#C678DD")
15 |
16 | // Styles
17 | titleStyle = lipgloss.NewStyle().
18 | Foreground(lipgloss.Color("#E5C07B")).
19 | Bold(true).
20 | MarginBottom(1)
21 |
22 | optionStyle = lipgloss.NewStyle().
23 | Foreground(textColor)
24 |
25 | selectedOptionStyle = lipgloss.NewStyle().
26 | Foreground(selectedColor).
27 | Bold(true)
28 |
29 | quitTextStyle = lipgloss.NewStyle().
30 | Foreground(accentColor).
31 | Italic(true)
32 |
33 | // Additional shared styles
34 | errorStyle = lipgloss.NewStyle().
35 | Foreground(lipgloss.Color("#FF6B6B")).
36 | Bold(true)
37 |
38 | successStyle = lipgloss.NewStyle().
39 | Foreground(lipgloss.Color("#4CAF50")).
40 | Bold(true)
41 |
42 | infoStyle = lipgloss.NewStyle().
43 | Foreground(lipgloss.Color("#56B6C2"))
44 |
45 | // Helper function to create a bordered box
46 | borderedBox = func(s string) string {
47 | return lipgloss.NewStyle().
48 | Border(lipgloss.RoundedBorder()).
49 | BorderForeground(primaryColor).
50 | Padding(1).
51 | Render(s)
52 | }
53 | )
54 |
55 | // GetStyledTitle returns a styled title for a given command
56 | func GetStyledTitle(title string) string {
57 | return titleStyle.Render("🔧 " + title)
58 | }
59 |
60 | // GetStyledOption returns a styled option for menus
61 | func GetStyledOption(option string, selected bool) string {
62 | style := optionStyle
63 | cursor := " "
64 | if selected {
65 | style = selectedOptionStyle
66 | cursor = "▶ "
67 | }
68 | return style.Render(cursor + option)
69 | }
70 |
71 | // GetStyledQuitText returns the styled quit instruction
72 | func GetStyledQuitText() string {
73 | return quitTextStyle.Render("Press 'q' to quit")
74 | }
75 |
76 | // GetErrorText returns styled error text
77 | func GetErrorText(text string) string {
78 | return errorStyle.Render(text)
79 | }
80 |
81 | // GetSuccessText returns styled success text
82 | func GetSuccessText(text string) string {
83 | return successStyle.Render(text)
84 | }
85 |
86 | // GetInfoText returns styled info text
87 | func GetInfoText(text string) string {
88 | return infoStyle.Render(text)
89 | }
90 |
91 | // GetBorderedBox returns a bordered box containing the given text
92 | func GetBorderedBox(text string) string {
93 | return borderedBox(text)
94 | }
95 |
--------------------------------------------------------------------------------
/shell/utils.go:
--------------------------------------------------------------------------------
1 | package shell
2 |
3 | import (
4 | "bufio"
5 | "fmt"
6 | "os"
7 | "os/user"
8 | "strings"
9 | )
10 |
11 | // SetEnvVarToFile writes the environment variable to the specified shell configuration file.
12 | func SetEnvVarToFile(filename, key, value string) error {
13 | usr, err := user.Current()
14 | if err != nil {
15 | return fmt.Errorf("error getting current user: %w", err)
16 | }
17 | homeDir := usr.HomeDir
18 | filePath := fmt.Sprintf("%s/%s", homeDir, filename)
19 |
20 | input, err := os.ReadFile(filePath)
21 | if err != nil {
22 | if os.IsNotExist(err) {
23 | file, err := os.Create(filePath)
24 | if err != nil {
25 | return err
26 | }
27 | defer file.Close()
28 | } else {
29 | return err
30 | }
31 | }
32 |
33 | lines := strings.Split(string(input), "\n")
34 | var output []string
35 | var found bool
36 |
37 | for _, line := range lines {
38 | if strings.HasPrefix(line, fmt.Sprintf("export %s=", key)) {
39 | output = append(output, fmt.Sprintf("export %s=\"%s\"", key, value))
40 | found = true
41 | } else {
42 | output = append(output, line)
43 | }
44 | }
45 |
46 | if !found {
47 | output = append(output, fmt.Sprintf("export %s=\"%s\"", key, value))
48 | }
49 |
50 | return os.WriteFile(filePath, []byte(strings.Join(output, "\n")), 0644)
51 | }
52 |
53 | // GetEnvVarFromFile reads the environment variable from the specified shell configuration file.
54 | func GetEnvVarFromFile(filename, key string) (string, error) {
55 | usr, err := user.Current()
56 | if err != nil {
57 | return "", fmt.Errorf("error getting current user: %w", err)
58 | }
59 | homeDir := usr.HomeDir
60 | filePath := fmt.Sprintf("%s/%s", homeDir, filename)
61 |
62 | file, err := os.Open(filePath)
63 | if err != nil {
64 | return "", err
65 | }
66 | defer file.Close()
67 |
68 | scanner := bufio.NewScanner(file)
69 | for scanner.Scan() {
70 | line := scanner.Text()
71 | if strings.HasPrefix(line, fmt.Sprintf("export %s=", key)) {
72 | parts := strings.SplitN(line, "=", 2)
73 | if len(parts) == 2 {
74 | return strings.Trim(parts[1], "\""), nil
75 | }
76 | }
77 | }
78 |
79 | if err := scanner.Err(); err != nil {
80 | return "", err
81 | }
82 |
83 | return "", fmt.Errorf("environment variable %s not found", key)
84 | }
85 |
86 | // GetEnv attempts to get the environment variable from the OS environment first,
87 | // and if not found, it reads from the specified shell configuration file.
88 | func GetEnv(key, filename string) (string, error) {
89 | // First, try to get the environment variable from the OS environment
90 | if value, exists := os.LookupEnv(key); exists {
91 | return value, nil
92 | }
93 |
94 | // If not found in OS environment, proceed to read from the shell configuration file
95 | return GetEnvVarFromFile(filename, key)
96 | }
97 |
--------------------------------------------------------------------------------
/source/app/gem/gem.go:
--------------------------------------------------------------------------------
1 | package gem
2 |
3 | import (
4 | "fmt"
5 | "os/exec"
6 | "regtool/common/alias"
7 | "regtool/source"
8 | "regtool/source/structs"
9 | "strings"
10 | )
11 |
12 | type GemRegistryManager struct{}
13 |
14 | func (g GemRegistryManager) GetCurrRegistry() (string, error) {
15 | cmd := exec.Command("gem", "sources", "-l")
16 | output, err := cmd.Output()
17 | if err != nil {
18 | fmt.Println("Error:", err)
19 | return "", err
20 | }
21 |
22 | lines := strings.Split(string(output), "\n")
23 | for _, line := range lines {
24 | if strings.HasPrefix(line, "https://") {
25 | return strings.TrimSpace(line), nil
26 | }
27 | }
28 |
29 | return "", fmt.Errorf("no valid source found")
30 | }
31 |
32 | func (g GemRegistryManager) SetRegistry(region structs.Region, sources *structs.RegistrySources) (string, error) {
33 | if sources == nil {
34 | return "", fmt.Errorf("sources is nil")
35 | }
36 | regionSources, ok := (*sources)[region]
37 | if !ok {
38 | return "", fmt.Errorf("unsupported region: %s", region)
39 | }
40 | source, ok := regionSources["gem"]
41 | if !ok || len(source) == 0 {
42 | return "", fmt.Errorf("gem sources not found for region: %s", region)
43 | }
44 | newSource := source[0]
45 |
46 | // Get current sources
47 | currentSources, err := g.getCurrentSources()
48 | if err != nil {
49 | return "", fmt.Errorf("error getting current sources: %v", err)
50 | }
51 |
52 | // Remove all current sources
53 | for _, src := range currentSources {
54 | removeCmd := exec.Command("gem", "sources", "--remove", src)
55 | _, err := removeCmd.Output()
56 | if err != nil {
57 | fmt.Printf("Error removing source %s: %v\n", src, err)
58 | // Continue with other sources even if one fails
59 | }
60 | }
61 |
62 | // Add the new source
63 | addCmd := exec.Command("gem", "sources", "--add", newSource)
64 | _, err = addCmd.Output()
65 | if err != nil {
66 | fmt.Println("Error adding new source:", err)
67 | return "", err
68 | }
69 |
70 | return newSource, nil
71 | }
72 |
73 | func (g GemRegistryManager) IsExists() bool {
74 | _, err := exec.Command("gem", "sources", "-l").Output()
75 | return err == nil
76 | }
77 |
78 | func (g GemRegistryManager) getCurrentSources() ([]string, error) {
79 | cmd := exec.Command("gem", "sources", "-l")
80 | output, err := cmd.Output()
81 | if err != nil {
82 | return nil, fmt.Errorf("error executing gem sources -l: %v", err)
83 | }
84 |
85 | var sources []string
86 | lines := strings.Split(string(output), "\n")
87 | for _, line := range lines {
88 | if strings.HasPrefix(line, "https://") {
89 | sources = append(sources, strings.TrimSpace(line))
90 | }
91 | }
92 |
93 | return sources, nil
94 | }
95 |
96 | func init() {
97 | alias.RegisterAlias("gem", []string{"rubygems"})
98 | source.RegisterManager([]string{"gem", "rubygems"}, GemRegistryManager{})
99 | }
100 |
--------------------------------------------------------------------------------
/source/localdata/localdata.go:
--------------------------------------------------------------------------------
1 | package localdata
2 |
3 | import (
4 | "encoding/json"
5 | "errors"
6 | "fmt"
7 | "os"
8 | "path/filepath"
9 | )
10 |
11 | // Constants for directory and file paths
12 | const (
13 | DOT_CONFIG_NAME = ".config"
14 | REGISTRY_HUB_FOLDER_NAME = "regtool"
15 | SOURCE_BACKUP_FILE_NAME = "backup.json"
16 | READ_PERMISSION = 0755
17 | )
18 |
19 | var (
20 | HOME_DIR, _ = os.UserHomeDir()
21 | DOT_CONFIG_DIR = filepath.Join(HOME_DIR, DOT_CONFIG_NAME)
22 | REGISTRY_HUB_DIR = filepath.Join(DOT_CONFIG_DIR, REGISTRY_HUB_FOLDER_NAME)
23 | SOURCE_BACKUP_FILE = filepath.Join(REGISTRY_HUB_DIR, SOURCE_BACKUP_FILE_NAME)
24 | )
25 |
26 | // EnsureDirectory checks if the directory exists and creates it if it doesn't
27 | func ensureDirectory(path string) error {
28 | _, err := os.Stat(path)
29 | if os.IsNotExist(err) {
30 | err = os.MkdirAll(path, READ_PERMISSION)
31 | if err != nil {
32 | return fmt.Errorf("failed to create directory: %v", err)
33 | }
34 | fmt.Println("Directory created:", path)
35 | } else if err != nil {
36 | return fmt.Errorf("failed to check directory: %v", err)
37 | }
38 | return nil
39 | }
40 |
41 | // ReadBackupFile reads the backup file and returns the data
42 | func ReadBackupFile() (map[string]string, error) {
43 | var data map[string]string
44 |
45 | // Check if the backup file exists
46 | if _, err := os.Stat(SOURCE_BACKUP_FILE); err == nil {
47 | // File exists, read the existing data
48 | file, err := os.Open(SOURCE_BACKUP_FILE)
49 | if err != nil {
50 | return nil, fmt.Errorf("failed to open backup file: %v", err)
51 | }
52 | defer file.Close()
53 |
54 | decoder := json.NewDecoder(file)
55 | err = decoder.Decode(&data)
56 | if err != nil {
57 | return nil, fmt.Errorf("failed to decode backup file: %v", err)
58 | }
59 | return data, nil
60 | } else if errors.Is(err, os.ErrNotExist) {
61 | // File does not exist, return empty map
62 | return make(map[string]string), nil
63 | } else {
64 | return nil, fmt.Errorf("failed to check backup file: %v", err)
65 | }
66 | }
67 |
68 | // SaveToBackup saves the provided data to the backup file
69 | func SaveToBackup(source map[string]string) error {
70 | // Ensure directories exist
71 | if err := ensureDirectory(DOT_CONFIG_DIR); err != nil {
72 | return err
73 | }
74 |
75 | if err := ensureDirectory(REGISTRY_HUB_DIR); err != nil {
76 | return err
77 | }
78 |
79 | // Read existing data
80 | existingData, err := ReadBackupFile()
81 | if err != nil {
82 | return err
83 | }
84 |
85 | // Merge new data into existing data
86 | for key, value := range source {
87 | existingData[key] = value
88 | }
89 |
90 | // Write the merged data back to the backup file
91 | file, err := os.Create(SOURCE_BACKUP_FILE)
92 | if err != nil {
93 | return fmt.Errorf("failed to create backup file: %v", err)
94 | }
95 | defer file.Close()
96 |
97 | encoder := json.NewEncoder(file)
98 | err = encoder.Encode(existingData)
99 | if err != nil {
100 | return fmt.Errorf("failed to encode data to backup file: %v", err)
101 | }
102 |
103 | return nil
104 | }
105 |
--------------------------------------------------------------------------------
/source/source.go:
--------------------------------------------------------------------------------
1 | package source
2 |
3 | import (
4 | "encoding/json"
5 | "os/exec"
6 | "regtool/common/alias"
7 | "regtool/console"
8 | "regtool/source/structs"
9 | )
10 |
11 | // GetRemoteRegistrySources fetches the remote sources and returns them
12 | func GetRemoteRegistrySources() (*structs.RegistrySources, error) {
13 | cmd := exec.Command("curl", "-L", "https://gitee.com/Sma1lboyyy/registry-hub/raw/main/sources.json")
14 | output, err := cmd.Output()
15 | if err != nil {
16 | console.Error("Failed to fetch remote sources:", err.Error())
17 | return &structs.RegistrySources{}, err
18 | }
19 | var sources structs.RegistrySources
20 | err = json.Unmarshal(output, &sources)
21 | return &sources, err
22 | }
23 |
24 | // ConvertSources converts sources to a map of package managers to sources
25 | func ConvertSources(sources *structs.RegistrySources) map[string]Source {
26 | result := make(map[string]Source)
27 | for region, registryRegion := range *sources {
28 | for packageManager, urls := range registryRegion {
29 | result[packageManager] = Source{
30 | Region: string(region),
31 | Url: urls[0],
32 | Name: packageManager,
33 | }
34 | }
35 | }
36 | return result
37 | }
38 |
39 | var SOURCES map[string]Source
40 |
41 | func GetRemoteSourcesMap() (map[string]Source, error) {
42 | sources, err := GetRemoteRegistrySources()
43 | if err != nil {
44 | return nil, err
45 | }
46 | SOURCES = ConvertSources(sources)
47 | return SOURCES, nil
48 | }
49 |
50 | type Source struct {
51 | Region string
52 | Url string
53 | Name string
54 | }
55 |
56 | var registryManagers = map[string]AppManager{}
57 |
58 | // RegisterManager registers a manager for the given names
59 | func RegisterManager(names []string, manager AppManager) {
60 | for _, name := range names {
61 | registryManagers[name] = manager
62 | }
63 | }
64 |
65 | func UpdateRegistry(region string, app string) error {
66 |
67 | rs, err := GetRemoteRegistrySources()
68 |
69 | if err != nil {
70 | console.Error("Failed to fetch remote sources:", err.Error())
71 | return &exec.Error{Name: "Failed to fetch remote sources", Err: err}
72 | }
73 |
74 | primaryApp := alias.GetPrimary(app)
75 | aliases := alias.GetAllAliases(primaryApp)
76 |
77 | if registryManager, ok := registryManagers[primaryApp]; ok {
78 | _, _ = registryManager.SetRegistry(structs.StringToRegion(region), rs)
79 | } else {
80 | return &exec.Error{Name: "Key does not exist", Err: nil}
81 | }
82 |
83 | for _, alias := range aliases {
84 | if registryManager, ok := registryManagers[alias]; ok {
85 | _, _ = registryManager.SetRegistry(structs.StringToRegion(region), rs)
86 | } else {
87 | return &exec.Error{Name: "Key does not exist", Err: nil}
88 | }
89 | }
90 | return nil
91 | }
92 |
93 | // Get All Registered
94 | func GetAllRegisteredApp() map[string]AppManager {
95 |
96 | res := make(map[string]AppManager)
97 | for _, appName := range alias.GetAllPrimary() {
98 | if manager, ok := registryManagers[appName]; ok {
99 | if !manager.IsExists() {
100 | continue
101 | }
102 | res[appName] = manager
103 | }
104 | }
105 | return res
106 | }
107 |
--------------------------------------------------------------------------------
/source/command.go:
--------------------------------------------------------------------------------
1 | package source
2 |
3 | import (
4 | "fmt"
5 | "regtool/console"
6 | "regtool/source/localdata"
7 | "regtool/source/structs"
8 | )
9 |
10 | //here is the command implementation of the source
11 |
12 | // Check if there is support registry
13 | func Update(updateChan chan string) error {
14 |
15 | managers := GetAllRegisteredApp()
16 | res := make(map[string]string)
17 | for name, manager := range managers {
18 | res[name], _ = manager.GetCurrRegistry()
19 | updateChan <- name + " is updated"
20 | }
21 | localdata.SaveToBackup(res)
22 | return nil
23 | }
24 |
25 | func ChangeAllRegistry(region string, updateChan chan string) error {
26 | rs, err := GetRemoteRegistrySources()
27 | if err != nil {
28 | console.Error("Failed to fetch remote sources:", err.Error())
29 | return err
30 | }
31 |
32 | localAppsMap, err2 := localdata.ReadBackupFile()
33 | if err2 != nil {
34 | console.Error("Failed to read backup file:", err2.Error())
35 | return err2
36 | }
37 |
38 | appManagers := GetAllRegisteredApp()
39 | //TODO do backup if changed
40 | //lets do a git log-like backup for chang every time
41 | for name, _ := range localAppsMap {
42 | if manager, ok := appManagers[name]; ok {
43 | manager.SetRegistry(structs.StringToRegion(region), rs)
44 |
45 | } else {
46 | console.Error("Manager not found for:", name)
47 | }
48 |
49 | }
50 | return nil
51 | }
52 |
53 | func ListAllRegistry(ch chan<- string) {
54 | rs, err := GetRemoteRegistrySources()
55 | if err != nil {
56 | ch <- fmt.Sprintf("ERROR: Failed to get remote registry sources: %s", err.Error())
57 | return
58 | }
59 |
60 | res := make(map[string][]Source)
61 | for region, regionSources := range *rs {
62 | for appName, urls := range regionSources {
63 | for _, url := range urls {
64 | res[appName] = append(res[appName], Source{
65 | Region: string(region),
66 | Url: url,
67 | Name: appName,
68 | })
69 | }
70 | }
71 | }
72 |
73 | for appName, sources := range res {
74 | ch <- fmt.Sprintf("APP: %s", appName)
75 | for _, source := range sources {
76 | ch <- fmt.Sprintf(" REGION: %s, URL: %s", source.Region, source.Url)
77 | }
78 | ch <- "\n"
79 | }
80 | }
81 | func ListRegistryByAppName(appName string, ch chan<- string) {
82 | rs, err := GetRemoteRegistrySources()
83 | if err != nil {
84 | ch <- fmt.Sprintf("ERROR: Failed to get remote registry sources: %s", err.Error())
85 | close(ch)
86 | return
87 | }
88 |
89 | res := make(map[string][]Source)
90 | for region, regionSources := range *rs {
91 | for name, urls := range regionSources {
92 | for _, url := range urls {
93 | res[name] = append(res[name], Source{
94 | Region: string(region),
95 | Url: url,
96 | Name: name,
97 | })
98 | }
99 | }
100 | }
101 |
102 | if sources, found := res[appName]; found {
103 | ch <- fmt.Sprintf("APP: %s", appName)
104 | for _, source := range sources {
105 | ch <- fmt.Sprintf("REGION: %s, URL: %s", source.Region, source.Url)
106 | }
107 | } else {
108 | ch <- fmt.Sprintf("ERROR: No sources found for app: %s", appName)
109 | }
110 |
111 | close(ch)
112 | }
113 |
--------------------------------------------------------------------------------
/cmd/change_name_region.go:
--------------------------------------------------------------------------------
1 | package cmd
2 |
3 | import (
4 | "fmt"
5 | "log"
6 | "regtool/source"
7 |
8 | "github.com/charmbracelet/bubbles/textinput"
9 | tea "github.com/charmbracelet/bubbletea"
10 | "github.com/fatih/color"
11 | )
12 |
13 | type changeNameRegionModel struct {
14 | input textinput.Model
15 | stage int
16 | appName string
17 | region string
18 | cursor int
19 | successMsg string
20 | }
21 |
22 | func newChangeNameRegionModel() changeNameRegionModel {
23 | ti := textinput.New()
24 | ti.Placeholder = "Enter app name"
25 | ti.Focus()
26 | ti.CharLimit = 156
27 | ti.Width = 20
28 | return changeNameRegionModel{input: ti, stage: 0, cursor: 0}
29 | }
30 |
31 | func (m changeNameRegionModel) Init() tea.Cmd {
32 | return textinput.Blink
33 | }
34 |
35 | func (m changeNameRegionModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
36 | var cmd tea.Cmd
37 | switch msg := msg.(type) {
38 | case tea.KeyMsg:
39 | switch msg.String() {
40 | case "q", "esc", "ctrl+c":
41 | return m, tea.Quit
42 | case "enter":
43 | if m.stage == 0 {
44 | if m.input.Value() == "" {
45 | return m, nil
46 | }
47 | m.appName = m.input.Value()
48 | m.input.Reset()
49 | m.input.Blur()
50 | m.stage = 1
51 | return m, nil
52 | } else if m.stage == 1 {
53 | m.region = regions[m.cursor]
54 | m.stage = 2
55 | return m, nil
56 | } else if m.stage == 2 {
57 | log.Println("Executing update operation...")
58 | err2 := source.UpdateRegistry(m.region, m.appName)
59 | if err2 != nil {
60 | log.Printf("Update failed: %v", err2)
61 | m.successMsg = fmt.Sprintf("Error: invalid app name to update %s to the %s registry\n %s", m.appName, m.region, err2)
62 | } else {
63 | log.Println("Update succeeded")
64 | m.successMsg = fmt.Sprintf("Changed %s to region %s successfully", m.appName, m.region)
65 | }
66 | m.stage = 3
67 | return m, nil
68 | } else if m.stage == 3 {
69 | return GetCommand(mainMenuName)
70 | }
71 | case "up", "k":
72 | if m.stage == 1 && m.cursor > 0 {
73 | m.cursor--
74 | }
75 | case "down", "j":
76 | if m.stage == 1 && m.cursor < len(regions)-1 {
77 | m.cursor++
78 | }
79 | }
80 | }
81 |
82 | if m.stage == 0 {
83 | m.input, cmd = m.input.Update(msg)
84 | }
85 |
86 | return m, cmd
87 | }
88 |
89 | func (m changeNameRegionModel) View() string {
90 | switch m.stage {
91 | case 0:
92 | return fmt.Sprintf(
93 | "Change Name to Region\n\n%s\n\nPress 'enter' to confirm, 'q' to go back.\n",
94 | m.input.View(),
95 | )
96 | case 1:
97 | s := fmt.Sprintf("Change Name to Region\n\nApp Name: %s\n\nSelect a region:\n\n", m.appName)
98 | for i, region := range regions {
99 | cursor := " " // no cursor
100 | line := region
101 | if m.cursor == i {
102 | cursor = ">" // cursor!
103 | boldBlue := color.New(color.FgBlue).Add(color.Bold)
104 | line = boldBlue.Sprintf(region)
105 | }
106 | s += fmt.Sprintf("%s %s\n", cursor, line)
107 | }
108 | s += "\nPress 'enter' to confirm, 'q' to go back.\n"
109 | return s
110 | case 2:
111 | return fmt.Sprintf(
112 | "Change Name to Region\n\nApp Name: %s\nRegion: %s\n\nPress 'enter' to apply change, 'q' to go back.\n",
113 | m.appName,
114 | m.region,
115 | )
116 | case 3:
117 | return fmt.Sprintf(
118 | "%s\n\nPress 'enter' to return to main menu.\n",
119 | m.successMsg,
120 | )
121 | default:
122 | return "Unexpected stage."
123 | }
124 | }
125 |
126 | func init() {
127 | RegisterCommand("changeNameRegion", "Change a App to Region", newChangeNameRegionModel())
128 | }
129 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/src/components/BannerGenerator.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import * as si from "simple-icons";
3 |
4 | const iconStyle = {
5 | width: 48,
6 | height: 48,
7 | borderRadius: "50%",
8 | display: "flex",
9 | justifyContent: "center",
10 | alignItems: "center",
11 | margin: "10px",
12 | };
13 |
14 | const iconList = [
15 | si.siNpm,
16 | si.siYarn,
17 | si.siPipx,
18 | si.siDocker,
19 | si.siApachemaven,
20 | si.siGo,
21 | si.siNuget,
22 | si.siHomebrew,
23 | si.siRubygems,
24 | si.siGradle,
25 | si.siConan,
26 | ];
27 |
28 | const BannerGenerator = ({
29 | rows,
30 | cols,
31 | textWidth,
32 | }: {
33 | rows: number;
34 | cols: number;
35 | textWidth: number;
36 | }) => {
37 | const getRandomIcon = () =>
38 | iconList[Math.floor(Math.random() * iconList.length)];
39 |
40 | const hexOpacity = ["33", "66", "99"];
41 |
42 | const getRandomColorWithOpacity = () => {
43 | const colors = ["#ffffff", "#61dafb"];
44 | const color = colors[Math.floor(Math.random() * colors.length)];
45 | const opacity = hexOpacity[Math.floor(Math.random() * hexOpacity.length)];
46 | return `${color}${opacity}`;
47 | };
48 |
49 | const midRowIndex = Math.floor(rows / 2);
50 |
51 | const renderIcon = () => {
52 | const icon = getRandomIcon();
53 | return (
54 |
68 | );
69 | };
70 |
71 | const sideIconsCount = Math.floor((cols - textWidth) / 2);
72 |
73 | return (
74 |
75 |
84 | {Array.from({ length: rows }).map((_, rowIndex) => (
85 |
86 | {rowIndex === midRowIndex ? (
87 | <>
88 | {Array.from({ length: sideIconsCount }).map((_, i) => (
89 |
90 | {renderIcon()}
91 |
92 | ))}
93 |
104 | RegTool
105 |
106 | {Array.from({ length: sideIconsCount }).map((_, i) => (
107 |
108 | {renderIcon()}
109 |
110 | ))}
111 | >
112 | ) : (
113 | Array.from({ length: cols }).map((_, colIndex) => (
114 | {renderIcon()}
115 | ))
116 | )}
117 |
118 | ))}
119 |
120 |
121 | );
122 | };
123 |
124 | export default BannerGenerator;
125 |
--------------------------------------------------------------------------------
/tools/gen-proj-banner/src/assets/react.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 | ### Supported Software
4 |
5 | **RegTool** supports a wide range of software registries and package managers to enhance your development workflow. Below is a comprehensive list of the software currently supported:
6 |
7 | **Features:**
8 |
9 | - **Using TUI instead CLI**: The TUI provides a more intuitive user experience.
10 | - **Multi-Registry Management**: Easily switch between different registries for each supported software.
11 | - **Secure Token Storage**: Securely manage and store access tokens for private registries.
12 | - **Centralized Configuration**: Simplify and centralize the configuration of all supported package managers and registries.
13 | - **User-Friendly Interface**: Navigate through settings and configurations with an intuitive interface.
14 |
15 | **How to Use:**
16 |
17 | 1. **Installation**: Follow the installation instructions specific to your operating system.
18 | 2. **Configuration**: Use the provided interface or command-line tools to configure your registries.
19 | 3. **Management**: Easily switch between registries and manage access tokens as needed.
20 |
21 | By supporting a wide range of software and registries, RegTool aims to streamline your development process and provide a seamless experience across different ecosystems.
22 |
23 | ### Supported Software Table
24 |
25 | | Name | Description | Availability |
26 | | ---------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
27 | | npm | Manage Node.js packages and switch between public and private npm registries seamlessly. |  |
28 | | Yarn | Configure Yarn package manager registries, supporting both public and private packages. |  |
29 | | Docker | Handle Docker image registries, including Docker Hub and private Docker registries. |  |
30 | | Homebrew | Manage Homebrew taps and repositories for macOS and Linux package installations. |  |
31 | | pip | Configure and manage Python package indexes, including PyPI and private repositories. |  |
32 | | RubyGems | Manage Ruby gems and configure sources for gem installations. |  |
33 | | Maven | Handle Java dependencies and configure Maven repositories. |  |
34 | | Gradle | Manage Gradle repositories for Java projects. |  |
35 | | Composer | Handle PHP package management with Composer and configure repositories. |  |
36 | | NuGet | Manage .NET packages and configure NuGet repositories. |  |
37 | | Cargo | Handle Rust packages and configure Cargo registries. |  |
38 | | Go Modules | Manage Go packages and configure module proxies. |  |
39 | | Helm | Configure Helm chart repositories for Kubernetes applications. |  |
40 | | Conan | Manage C/C++ packages and configure Conan repositories. |  |
41 | | Pub | Handle Dart packages and configure Pub repositories. |  |
42 |
43 | RegTool aims to streamline your development process and provide a seamless experience across different ecosystems.
44 |
45 | ### Build Instructions
46 |
47 | To build RegTool from source, follow these steps:
48 |
49 | 1. **Clone the repository:**
50 |
51 | ```sh
52 | git clone https://github.com/yourusername/regtool.git
53 | cd regtool
54 | ```
55 |
56 | 2. **Build the project:**
57 |
58 | ```sh
59 | make build
60 | ```
61 |
62 | 3. **Run RegTool:**
63 | ```sh
64 | ./regtool
65 | ```
66 |
67 | ### Contribution
68 |
69 | We welcome contributions! If you would like to contribute to this project, please follow the guidelines in our [CONTRIBUTION.md](./CONTRIBUTION.md).
70 |
71 | Thank you for your interest in contributing to RegTool. Your contributions are greatly appreciated.
72 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing to RegTool
2 |
3 | First off, thanks for taking the time to contribute! 🎉
4 |
5 | The following is a set of guidelines for contributing to RegTool. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
6 |
7 | ## How Can I Contribute?
8 |
9 | ### Reporting Bugs
10 |
11 | This section guides you through submitting a bug report for RegTool. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.
12 |
13 | #### Before Submitting A Bug Report
14 |
15 | - **Check the [issue tracker](https://github.com/Sma1lboy/regtool/issues)** to see if the problem has already been reported. If it has, you can add additional information to the existing issue.
16 | - **Perform a [cursory search](https://github.com/Sma1lboy/regtool/issues?q=is%3Aissue)** to see if the problem has already been addressed in past issues.
17 |
18 | #### How Do I Submit A (Good) Bug Report?
19 |
20 | - **Use a clear and descriptive title** for the issue to identify the problem.
21 | - **Describe the exact steps which reproduce the problem** in as many details as possible. Start with how you used the project, e.g. which command exactly you used in the terminal.
22 | - **Provide specific examples** to demonstrate the steps. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
23 |
24 | ### Suggesting Enhancements
25 |
26 | This section guides you through submitting an enhancement suggestion for RegTool, including completely new features and minor improvements to existing functionality.
27 |
28 | #### Before Submitting An Enhancement Suggestion
29 |
30 | - **Check the [issue tracker](https://github.com/Sma1lboy/regtool/issues)** to see if there's already a request for that feature. If there is, you can add a 👍 reaction to indicate your support.
31 |
32 | #### How Do I Submit A (Good) Enhancement Suggestion?
33 |
34 | - **Use a clear and descriptive title** for the suggestion.
35 | - **Provide a step-by-step description of the suggested enhancement** in as much detail as possible.
36 | - **Provide specific examples to demonstrate the steps**. Include copy/pasteable snippets, which you use in those examples.
37 | - **Explain why this enhancement would be useful** to most RegTool users.
38 |
39 | ### Pull Requests
40 |
41 | The process described here has several goals:
42 |
43 | - Maintain RegTool's quality
44 | - Fix problems that are important to users
45 | - Engage the community in working toward the best possible RegTool
46 | - Enable a sustainable system for RegTool's maintainers to review contributions
47 |
48 | #### Your First Pull Request
49 |
50 | - **Fork** the repository.
51 | - **Clone** your fork: `git clone https://github.com/Sma1lboy/regtool.git`
52 | - **Create a branch**: `git checkout -b my-branch`
53 | - **Make your changes**.
54 | - **Push to your fork**: `git push origin my-branch`
55 | - **Create a pull request**.
56 |
57 | #### Guidelines for Pull Requests
58 |
59 | - Follow the project coding style.
60 | - Ensure your changes include tests to cover any new code.
61 | - Be sure all tests pass.
62 | - When you make very small changes to documentation, it may help to add `[ci skip]` to your commit message to skip running tests for that commit.
63 |
64 | ## How to Clone, Build, and Run the Project
65 |
66 | ### Prerequisites
67 |
68 | Make sure you have the following tools installed:
69 |
70 | - [Go](https://golang.org/doc/install) (1.16 or higher)
71 | - [Git](https://git-scm.com/)
72 |
73 | ### Clone the Repository
74 |
75 | 1. Fork the repository on GitHub.
76 | 2. Clone your fork to your local machine:
77 |
78 | ```sh
79 | git clone https://github.com/Sma1lboy/regtool.git
80 | cd regtool
81 | ```
82 |
83 | ### Build the Project
84 |
85 | 1. Run the following command to generate the `initall.go` file and build the project:
86 |
87 | ```sh
88 | make
89 | ```
90 |
91 | ### Run the Project
92 |
93 | 1. After building the project, you can run the executable:
94 |
95 | ```sh
96 | ./regtool
97 | ```
98 |
99 | This will start RegTool with the default settings.
100 |
101 | ## Style Guides
102 |
103 | ### Git Commit Messages
104 |
105 | - Use the present tense ("Add feature" not "Added feature").
106 | - Use the imperative mood ("Move cursor to..." not "Moves cursor to...").
107 | - Limit the first line to 72 characters or less.
108 | - Reference issues and pull requests liberally after the first line.
109 |
110 | ### Go Code Style
111 |
112 | - Follow the [Effective Go](https://golang.org/doc/effective_go.html) guidelines.
113 | - Ensure that the code passes `go fmt`.
114 |
115 | ## Code of Conduct
116 |
117 | This project adheres to the [Contributor Covenant code of conduct](https://www.contributor-covenant.org/version/2/0/code_of_conduct/). By participating, you are expected to uphold this code. Please report unacceptable behavior to [cchen686@wisc.edu](mailto:cchen686@wisc.edu).
118 |
119 | Thank you for considering contributing to RegTool!
120 |
--------------------------------------------------------------------------------
/cmd/update.go:
--------------------------------------------------------------------------------
1 | package cmd
2 |
3 | import (
4 | "fmt"
5 | "regtool/source"
6 | "strings"
7 | "time"
8 |
9 | "github.com/charmbracelet/bubbles/progress"
10 | "github.com/charmbracelet/bubbles/spinner"
11 | tea "github.com/charmbracelet/bubbletea"
12 | "github.com/charmbracelet/lipgloss"
13 | )
14 |
15 | // updateModel defines the structure for the update model
16 | type updateModel struct {
17 | confirming bool
18 | completed bool
19 | progress progress.Model
20 | progressVal float64
21 | spinner spinner.Model
22 | msg string
23 | updateMessages []string // Slice to store all update messages
24 | updateChan chan string // Channel to receive update messages
25 | }
26 |
27 | // Init initializes the update model
28 | func (m updateModel) Init() tea.Cmd {
29 | return m.spinner.Tick
30 | }
31 |
32 | // Update handles the messages for the update model
33 | func (m updateModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
34 | switch msg := msg.(type) {
35 | case tea.KeyMsg:
36 | switch msg.String() {
37 | case "enter":
38 | if !m.confirming {
39 | m.confirming = true
40 | m.progressVal = 0
41 |
42 | updateResult := make(chan error)
43 | m.updateChan = make(chan string)
44 | go func() {
45 | err := source.Update(m.updateChan)
46 | updateResult <- err
47 | close(m.updateChan)
48 | }()
49 |
50 | return m, tea.Batch(animateProgress(), waitForUpdate(updateResult), waitForUpdateMessages(m.updateChan))
51 | }
52 | case "q", "esc":
53 | return GetCommand(mainMenuName)
54 | }
55 | case tickMsg:
56 | m.progressVal += 0.01
57 | cmd := m.progress.IncrPercent(0.01)
58 | if m.progressVal >= 1.0 {
59 | if m.completed {
60 | return m, tea.Batch(cmd, func() tea.Msg { return updateCompleteMsg{} })
61 | }
62 | m.progressVal = 1.0
63 | }
64 | var spinCmd tea.Cmd
65 | m.spinner, spinCmd = m.spinner.Update(msg)
66 | return m, tea.Batch(animateProgress(), cmd, spinCmd)
67 |
68 | case updateCompleteMsg:
69 | return GetCommand(mainMenuName)
70 |
71 | case updateResultMsg:
72 | if msg.err != nil {
73 | m.msg = msg.err.Error()
74 | m.confirming = false
75 | } else {
76 | m.progress.SetPercent(1.0)
77 | m.progressVal = .85
78 | m.completed = true
79 | m.msg = "Update completed successfully!"
80 | }
81 | return m, nil
82 |
83 | case updateMessageMsg:
84 | m.updateMessages = append(m.updateMessages, msg.message) // Store the message
85 | return m, tea.Batch(waitForUpdateMessages(m.updateChan)) // Continue listening for more messages
86 | }
87 |
88 | var cmd tea.Cmd
89 | var model tea.Model
90 | model, cmd = m.progress.Update(msg)
91 | m.progress = model.(progress.Model)
92 | var spinCmd tea.Cmd
93 | m.spinner, spinCmd = m.spinner.Update(msg)
94 | return m, tea.Batch(cmd, spinCmd)
95 | }
96 |
97 | // View renders the view for the update model
98 | func (m updateModel) View() string {
99 | doc := strings.Builder{}
100 | // Title
101 | doc.WriteString(titleStyle.Render("🔧 Init/Update All Apps Recording") + "\n")
102 |
103 | if !m.confirming {
104 | doc.WriteString("Are you sure you want to check all apps and query local software? Press 'Enter' to confirm, 'q' or 'esc' to go back.\n")
105 | return doc.String()
106 | }
107 |
108 | doc.WriteString(m.spinner.View() + "Updating... Press 'q' or 'esc' to cancel.\n\n")
109 | doc.WriteString(fmt.Sprintf("%s\n\n", m.progress.View()))
110 | doc.WriteString("Update Messages:\n")
111 | for _, msg := range m.updateMessages {
112 | doc.WriteString(fmt.Sprintf(" - %s\n", msg))
113 | }
114 | doc.WriteString("\n" + m.msg)
115 | return doc.String()
116 | }
117 |
118 | // init initializes the update command with its model
119 | func init() {
120 | s := spinner.New()
121 | s.Spinner = spinner.Dot
122 | s.Style = lipgloss.NewStyle().Align(lipgloss.Center)
123 |
124 | RegisterCommand("update", "Init/Update All Apps Recording", updateModel{
125 | progress: progress.New(progress.WithDefaultGradient()),
126 | spinner: s,
127 | })
128 | }
129 |
130 | // updateCompleteMsg is used to signal that the update is complete
131 | type updateCompleteMsg struct{}
132 |
133 | // tickMsg is used to signal a tick for updating progress
134 | type tickMsg time.Time
135 |
136 | // updateResultMsg is used to signal the result of the update
137 | type updateResultMsg struct {
138 | err error
139 | }
140 |
141 | // updateMessageMsg is used to send update messages
142 | type updateMessageMsg struct {
143 | message string
144 | }
145 |
146 | // animateProgress sends a tick message at a fixed interval
147 | func animateProgress() tea.Cmd {
148 | return tea.Tick(time.Millisecond*50, func(t time.Time) tea.Msg {
149 | return tickMsg(t)
150 | })
151 | }
152 |
153 | // waitForUpdate waits for the update to complete and sends the result
154 | func waitForUpdate(updateResult chan error) tea.Cmd {
155 | return func() tea.Msg {
156 | err := <-updateResult
157 | return updateResultMsg{err}
158 | }
159 | }
160 |
161 | // waitForUpdateMessages waits for update messages and sends them as tea messages
162 | func waitForUpdateMessages(updateChan chan string) tea.Cmd {
163 | return func() tea.Msg {
164 | for msg := range updateChan {
165 | return updateMessageMsg{message: msg}
166 | }
167 | return nil
168 | }
169 | }
170 |
--------------------------------------------------------------------------------
/cmd/list_all_registry.go:
--------------------------------------------------------------------------------
1 | package cmd
2 |
3 | import (
4 | "regtool/source"
5 | "strings"
6 | "time"
7 | "unicode"
8 |
9 | tea "github.com/charmbracelet/bubbletea"
10 | )
11 |
12 | type listAllRegistryModel struct {
13 | output []string
14 | done bool
15 | messagesCh chan string
16 | scroll int
17 | height int
18 | width int
19 | }
20 |
21 | func (m listAllRegistryModel) Init() tea.Cmd {
22 | return tea.Batch(
23 | m.startListingRegistries(),
24 | tickEvery(),
25 | )
26 | }
27 |
28 | func (m listAllRegistryModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
29 | switch msg := msg.(type) {
30 | case tea.KeyMsg:
31 | switch msg.String() {
32 | case "q", "esc", "ctrl+c":
33 | return GetCommand(mainMenuName)
34 | case "up", "k":
35 | if m.scroll > 0 {
36 | m.scroll--
37 | }
38 | case "down", "j":
39 | if m.scroll < len(m.output)-m.height {
40 | m.scroll++
41 | }
42 | case "r":
43 | if m.done {
44 | m.output = nil
45 | m.done = false
46 | m.messagesCh = make(chan string)
47 | m.scroll = 0
48 | return m, tea.Batch(
49 | m.startListingRegistries(),
50 | tickEvery(),
51 | )
52 | }
53 | }
54 | case tea.WindowSizeMsg:
55 | m.height = msg.Height - 6
56 | m.width = msg.Width - 4
57 | case tickMsg:
58 | select {
59 | case message, ok := <-m.messagesCh:
60 | if !ok {
61 | m.done = true
62 | return m, nil
63 | }
64 | m.output = append(m.output, message)
65 | if len(m.output) > m.height && m.scroll == len(m.output)-m.height-1 {
66 | m.scroll++
67 | }
68 | default:
69 | // No message available, do nothing
70 | }
71 | return m, tickEvery()
72 | }
73 | return m, nil
74 | }
75 |
76 | func (m listAllRegistryModel) View() string {
77 | var contentBuilder strings.Builder
78 |
79 | visibleOutput := m.output
80 | if len(m.output) > m.height {
81 | start := m.scroll
82 | end := m.scroll + m.height
83 | if end > len(m.output) {
84 | end = len(m.output)
85 | }
86 | visibleOutput = m.output[start:end]
87 | }
88 |
89 | for _, line := range visibleOutput {
90 | if strings.HasPrefix(line, "APP: ") {
91 | contentBuilder.WriteString("\n" + m.formatApp(line, m.output))
92 | }
93 | }
94 |
95 | var finalBuilder strings.Builder
96 | finalBuilder.WriteString(GetStyledTitle("Registry List") + "\n\n")
97 | finalBuilder.WriteString(contentBuilder.String())
98 | finalBuilder.WriteString("\n")
99 |
100 | if m.done {
101 | finalBuilder.WriteString(GetStyledQuitText() + "\n")
102 | finalBuilder.WriteString(GetInfoText("Press 'r' to reload, use up/down arrows to scroll") + "\n")
103 | } else {
104 | finalBuilder.WriteString(GetInfoText("Loading... Use j/k arrows to scroll") + "\n")
105 | }
106 |
107 | return finalBuilder.String()
108 | }
109 |
110 | func (m listAllRegistryModel) formatApp(appLine string, allLines []string) string {
111 | var builder strings.Builder
112 | builder.WriteString(GetStyledTitle(appLine) + "\n")
113 | inCurrentApp := false
114 | for _, line := range allLines {
115 | if line == appLine {
116 | inCurrentApp = true
117 | continue
118 | }
119 | if inCurrentApp {
120 | if strings.HasPrefix(line, "APP: ") {
121 | break
122 | }
123 | if strings.HasPrefix(line, " REGION: ") {
124 | parts := strings.SplitN(line, ", URL: ", 2)
125 | builder.WriteString(m.wrapText(GetInfoText(parts[0]), m.width) + "\n")
126 | if len(parts) > 1 {
127 | builder.WriteString(m.wrapText(GetSuccessText("URL: "+parts[1]), m.width) + "\n")
128 | }
129 | } else if strings.HasPrefix(line, "ERROR: ") {
130 | builder.WriteString(m.wrapText(GetErrorText(line), m.width) + "\n")
131 | }
132 | }
133 | }
134 | builder.WriteString("\n")
135 | return builder.String()
136 | }
137 |
138 | func (m listAllRegistryModel) wrapText(text string, width int) string {
139 | words := strings.Fields(removeColorAttributes(text))
140 | if len(words) == 0 {
141 | return ""
142 | }
143 |
144 | var lines []string
145 | var currentLine string
146 |
147 | for _, word := range words {
148 | if len(currentLine)+len(word)+1 > width {
149 | lines = append(lines, strings.TrimSpace(currentLine))
150 | currentLine = word
151 | } else {
152 | if currentLine != "" {
153 | currentLine += " "
154 | }
155 | currentLine += word
156 | }
157 | }
158 |
159 | if currentLine != "" {
160 | lines = append(lines, strings.TrimSpace(currentLine))
161 | }
162 |
163 | styledLines := make([]string, len(lines))
164 | for i, line := range lines {
165 | styledLines[i] = applyOriginalStyle(text, line)
166 | }
167 |
168 | return strings.Join(styledLines, "\n ")
169 | }
170 |
171 | func removeColorAttributes(s string) string {
172 | var result strings.Builder
173 | inEscapeSeq := false
174 | for _, r := range s {
175 | if r == '\x1b' {
176 | inEscapeSeq = true
177 | } else if inEscapeSeq {
178 | if unicode.IsLetter(r) {
179 | inEscapeSeq = false
180 | }
181 | } else {
182 | result.WriteRune(r)
183 | }
184 | }
185 | return result.String()
186 | }
187 |
188 | func applyOriginalStyle(original, wrapped string) string {
189 | if strings.HasPrefix(original, GetInfoText("")) {
190 | return GetInfoText(wrapped)
191 | } else if strings.HasPrefix(original, GetSuccessText("")) {
192 | return GetSuccessText(wrapped)
193 | } else if strings.HasPrefix(original, GetErrorText("")) {
194 | return GetErrorText(wrapped)
195 | }
196 | return wrapped
197 | }
198 |
199 | func (m listAllRegistryModel) startListingRegistries() tea.Cmd {
200 | return func() tea.Msg {
201 | go source.ListAllRegistry(m.messagesCh)
202 | return nil
203 | }
204 | }
205 |
206 | func tickEvery() tea.Cmd {
207 | return tea.Tick(time.Millisecond*100, func(t time.Time) tea.Msg {
208 | return tickMsg(t)
209 | })
210 | }
211 |
212 | func NewListAllRegistryModel() listAllRegistryModel {
213 | return listAllRegistryModel{
214 | messagesCh: make(chan string),
215 | height: 20,
216 | width: 80,
217 | }
218 | }
219 |
220 | func init() {
221 | RegisterCommand("listAllRegistry", "List All Registry", NewListAllRegistryModel())
222 | }
223 |
--------------------------------------------------------------------------------
/cmd/list_registry.go:
--------------------------------------------------------------------------------
1 | package cmd
2 |
3 | import (
4 | "regtool/source"
5 | "strings"
6 | "unicode"
7 |
8 | "github.com/charmbracelet/bubbles/textinput"
9 | tea "github.com/charmbracelet/bubbletea"
10 | )
11 |
12 | type listRegistryModel struct {
13 | appNameInput textinput.Model
14 | appName string
15 | stage int
16 | output []string
17 | done bool
18 | messagesCh chan string
19 | scroll int
20 | height int
21 | width int
22 | }
23 |
24 | func (m listRegistryModel) Init() tea.Cmd {
25 | return textinput.Blink
26 | }
27 |
28 | func (m listRegistryModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
29 | var cmds []tea.Cmd
30 |
31 | switch msg := msg.(type) {
32 | case tea.KeyMsg:
33 | switch msg.String() {
34 | case "q", "esc":
35 | return GetCommand("mainMenu")
36 | case "ctrl+c":
37 | return m, tea.Quit
38 | case "up", "k":
39 | if m.scroll > 0 {
40 | m.scroll--
41 | }
42 | case "down", "j":
43 | if m.scroll < len(m.output)-m.height {
44 | m.scroll++
45 | }
46 | default:
47 | if m.stage == 0 {
48 | var cmd tea.Cmd
49 | m.appNameInput, cmd = m.appNameInput.Update(msg)
50 | cmds = append(cmds, cmd)
51 |
52 | if msg.Type == tea.KeyEnter {
53 | m.appName = m.appNameInput.Value()
54 | m.stage = 1
55 | m.output = nil
56 | m.done = false
57 | m.messagesCh = make(chan string)
58 | m.scroll = 0
59 | return m, tea.Batch(
60 | m.startListingRegistryByAppName(m.appName),
61 | tickEvery(),
62 | )
63 | }
64 | } else {
65 | return GetCommand("mainMenu")
66 | }
67 | }
68 | case tea.WindowSizeMsg:
69 | m.height = msg.Height - 6
70 | m.width = msg.Width - 4
71 | case tickMsg:
72 | select {
73 | case message, ok := <-m.messagesCh:
74 | if !ok {
75 | m.done = true
76 | return m, nil
77 | }
78 | m.output = append(m.output, message)
79 | if len(m.output) > m.height && m.scroll == len(m.output)-m.height-1 {
80 | m.scroll++
81 | }
82 | default:
83 | // No message available, do nothing
84 | }
85 | return m, tickEvery()
86 | }
87 | return m, tea.Batch(cmds...)
88 | }
89 |
90 | func (m listRegistryModel) View() string {
91 | if m.stage == 0 {
92 | return "List Registry by App Name\n\nEnter the app name:\n" + m.appNameInput.View()
93 | }
94 |
95 | var contentBuilder strings.Builder
96 |
97 | visibleOutput := m.output
98 | if len(m.output) > m.height {
99 | start := m.scroll
100 | end := m.scroll + m.height
101 | if end > len(m.output) {
102 | end = len(m.output)
103 | }
104 | visibleOutput = m.output[start:end]
105 | }
106 |
107 | for _, line := range visibleOutput {
108 | if strings.HasPrefix(line, "APP: ") {
109 | contentBuilder.WriteString("\n" + m.formatApp(line, m.output))
110 | } else {
111 | contentBuilder.WriteString(line + "\n")
112 | }
113 | }
114 |
115 | var finalBuilder strings.Builder
116 | finalBuilder.WriteString(GetStyledTitle("Registry List") + "\n\n")
117 | finalBuilder.WriteString(contentBuilder.String())
118 | finalBuilder.WriteString("\n")
119 |
120 | if m.done {
121 | finalBuilder.WriteString(GetStyledQuitText() + "\n")
122 | finalBuilder.WriteString(GetInfoText("Press 'q' to go back, use up/down arrows to scroll") + "\n")
123 | } else {
124 | finalBuilder.WriteString(GetInfoText("Loading... Use j/k arrows to scroll") + "\n")
125 | }
126 |
127 | return finalBuilder.String()
128 | }
129 | func (m listRegistryModel) formatApp(appLine string, allLines []string) string {
130 | var builder strings.Builder
131 | inCurrentApp := false
132 |
133 | for _, line := range allLines {
134 | if strings.HasPrefix(line, "APP: ") {
135 | if inCurrentApp {
136 | break
137 | }
138 | inCurrentApp = true
139 | builder.WriteString(GetStyledTitle(line) + "\n")
140 | continue
141 | }
142 | }
143 | builder.WriteString("\n")
144 | return builder.String()
145 | }
146 |
147 | func (m listRegistryModel) wrapText(text string, width int) string {
148 | words := strings.Fields(removeSingleColorAttributes(text))
149 | if len(words) == 0 {
150 | return ""
151 | }
152 |
153 | var lines []string
154 | var currentLine string
155 |
156 | for _, word := range words {
157 | if len(currentLine)+len(word)+1 > width {
158 | lines = append(lines, strings.TrimSpace(currentLine))
159 | currentLine = word
160 | } else {
161 | if currentLine != "" {
162 | currentLine += " "
163 | }
164 | currentLine += word
165 | }
166 | }
167 |
168 | if currentLine != "" {
169 | lines = append(lines, strings.TrimSpace(currentLine))
170 | }
171 |
172 | styledLines := make([]string, len(lines))
173 | for i, line := range lines {
174 | styledLines[i] = applySingleOriginalStyle(text, line)
175 | }
176 |
177 | return strings.Join(styledLines, "\n ")
178 | }
179 |
180 | func (m listRegistryModel) startListingRegistryByAppName(appName string) tea.Cmd {
181 | return func() tea.Msg {
182 | go source.ListRegistryByAppName(appName, m.messagesCh)
183 | return nil
184 | }
185 | }
186 |
187 | func NewListRegistryModel() listRegistryModel {
188 | ti := textinput.New()
189 | ti.Placeholder = "App Name"
190 | ti.Focus()
191 | ti.CharLimit = 156
192 | ti.Width = 20
193 |
194 | return listRegistryModel{
195 | appNameInput: ti,
196 | messagesCh: make(chan string),
197 | height: 20,
198 | width: 80,
199 | }
200 | }
201 |
202 | func init() {
203 | RegisterCommand("listRegistry", "List Registry by App Name", NewListRegistryModel())
204 | }
205 |
206 | func removeSingleColorAttributes(s string) string {
207 | var result strings.Builder
208 | inEscapeSeq := false
209 | for _, r := range s {
210 | if r == '\x1b' {
211 | inEscapeSeq = true
212 | } else if inEscapeSeq {
213 | if unicode.IsLetter(r) {
214 | inEscapeSeq = false
215 | }
216 | } else {
217 | result.WriteRune(r)
218 | }
219 | }
220 | return result.String()
221 | }
222 |
223 | func applySingleOriginalStyle(original, wrapped string) string {
224 | if strings.HasPrefix(original, GetInfoText("")) {
225 | return GetInfoText(wrapped)
226 | } else if strings.HasPrefix(original, GetSuccessText("")) {
227 | return GetSuccessText(wrapped)
228 | } else if strings.HasPrefix(original, GetErrorText("")) {
229 | return GetErrorText(wrapped)
230 | }
231 | return wrapped
232 | }
233 |
--------------------------------------------------------------------------------
/go.sum:
--------------------------------------------------------------------------------
1 | cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
2 | cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
3 | cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
4 | cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
5 | cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
6 | cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
7 | cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
8 | cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
9 | cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
10 | cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M=
11 | cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc=
12 | cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk=
13 | cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
14 | cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc=
15 | cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
16 | cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI=
17 | cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk=
18 | cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg=
19 | cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8=
20 | cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0=
21 | cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY=
22 | cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM=
23 | cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY=
24 | cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ=
25 | cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI=
26 | cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4=
27 | cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc=
28 | cloud.google.com/go v0.98.0/go.mod h1:ua6Ush4NALrHk5QXDWnjvZHN93OuF0HfuEPq9I1X0cM=
29 | cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA=
30 | cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
31 | cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
32 | cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
33 | cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
34 | cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
35 | cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
36 | cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
37 | cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
38 | cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY=
39 | cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
40 | cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
41 | cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
42 | cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
43 | cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
44 | cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
45 | cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
46 | cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
47 | cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
48 | dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
49 | github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
50 | github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
51 | github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
52 | github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
53 | github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
54 | github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
55 | github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
56 | github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
57 | github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
58 | github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
59 | github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
60 | github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc=
61 | github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
62 | github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
63 | github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
64 | github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
65 | github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
66 | github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
67 | github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
68 | github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
69 | github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
70 | github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
71 | github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
72 | github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
73 | github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
74 | github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
75 | github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
76 | github.com/charmbracelet/bubbles v0.18.0 h1:PYv1A036luoBGroX6VWjQIE9Syf2Wby2oOl/39KLfy0=
77 | github.com/charmbracelet/bubbles v0.18.0/go.mod h1:08qhZhtIwzgrtBjAcJnij1t1H0ZRjwHyGsy6AL11PSw=
78 | github.com/charmbracelet/bubbletea v0.26.6 h1:zTCWSuST+3yZYZnVSvbXwKOPRSNZceVeqpzOLN2zq1s=
79 | github.com/charmbracelet/bubbletea v0.26.6/go.mod h1:dz8CWPlfCCGLFbBlTY4N7bjLiyOGDJEnd2Muu7pOWhk=
80 | github.com/charmbracelet/harmonica v0.2.0 h1:8NxJWRWg/bzKqqEaaeFNipOu77YR5t8aSwG4pgaUBiQ=
81 | github.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao=
82 | github.com/charmbracelet/lipgloss v0.9.1 h1:PNyd3jvaJbg4jRHKWXnCj1akQm4rh8dbEzN1p/u1KWg=
83 | github.com/charmbracelet/lipgloss v0.9.1/go.mod h1:1mPmG4cxScwUQALAAnacHaigiiHB9Pmr+v1VEawJl6I=
84 | github.com/charmbracelet/x/ansi v0.1.2 h1:6+LR39uG8DE6zAmbu023YlqjJHkYXDF1z36ZwzO4xZY=
85 | github.com/charmbracelet/x/ansi v0.1.2/go.mod h1:dk73KoMTT5AX5BsX0KrqhsTqAnhZZoCBjs7dGWp4Ktw=
86 | github.com/charmbracelet/x/input v0.1.0 h1:TEsGSfZYQyOtp+STIjyBq6tpRaorH0qpwZUj8DavAhQ=
87 | github.com/charmbracelet/x/input v0.1.0/go.mod h1:ZZwaBxPF7IG8gWWzPUVqHEtWhc1+HXJPNuerJGRGZ28=
88 | github.com/charmbracelet/x/term v0.1.1 h1:3cosVAiPOig+EV4X9U+3LDgtwwAoEzJjNdwbXDjF6yI=
89 | github.com/charmbracelet/x/term v0.1.1/go.mod h1:wB1fHt5ECsu3mXYusyzcngVWWlu1KKUmmLhfgr/Flxw=
90 | github.com/charmbracelet/x/windows v0.1.0 h1:gTaxdvzDM5oMa/I2ZNF7wN78X/atWemG9Wph7Ika2k4=
91 | github.com/charmbracelet/x/windows v0.1.0/go.mod h1:GLEO/l+lizvFDBPLIOk+49gdX49L9YWMB5t+DZd0jkQ=
92 | github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
93 | github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
94 | github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
95 | github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag=
96 | github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I=
97 | github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
98 | github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
99 | github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
100 | github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
101 | github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI=
102 | github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
103 | github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
104 | github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
105 | github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
106 | github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
107 | github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
108 | github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
109 | github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
110 | github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
111 | github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
112 | github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
113 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
114 | github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
115 | github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
116 | github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
117 | github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po=
118 | github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
119 | github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
120 | github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ=
121 | github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0=
122 | github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ=
123 | github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
124 | github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws=
125 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4=
126 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM=
127 | github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
128 | github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
129 | github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
130 | github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
131 | github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
132 | github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWpgI=
133 | github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU=
134 | github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
135 | github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
136 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
137 | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
138 | github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
139 | github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
140 | github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
141 | github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
142 | github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
143 | github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
144 | github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
145 | github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
146 | github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
147 | github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
148 | github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
149 | github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
150 | github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
151 | github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
152 | github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
153 | github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
154 | github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
155 | github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
156 | github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
157 | github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
158 | github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8=
159 | github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs=
160 | github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
161 | github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
162 | github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
163 | github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
164 | github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
165 | github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
166 | github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
167 | github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
168 | github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
169 | github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
170 | github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
171 | github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
172 | github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
173 | github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
174 | github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
175 | github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
176 | github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
177 | github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
178 | github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
179 | github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
180 | github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
181 | github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
182 | github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
183 | github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
184 | github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
185 | github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
186 | github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
187 | github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
188 | github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
189 | github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
190 | github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
191 | github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
192 | github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
193 | github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
194 | github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
195 | github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
196 | github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
197 | github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
198 | github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
199 | github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
200 | github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
201 | github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
202 | github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
203 | github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
204 | github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
205 | github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
206 | github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
207 | github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
208 | github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
209 | github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
210 | github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
211 | github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
212 | github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
213 | github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
214 | github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
215 | github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0=
216 | github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM=
217 | github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
218 | github.com/hashicorp/consul/api v1.11.0/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M=
219 | github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0=
220 | github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms=
221 | github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
222 | github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
223 | github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
224 | github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
225 | github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
226 | github.com/hashicorp/go-hclog v1.0.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
227 | github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
228 | github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
229 | github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
230 | github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
231 | github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA=
232 | github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs=
233 | github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8=
234 | github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
235 | github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4=
236 | github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
237 | github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
238 | github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
239 | github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
240 | github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
241 | github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
242 | github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
243 | github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
244 | github.com/hashicorp/mdns v1.0.1/go.mod h1:4gW7WsVCke5TE7EPeYliwHlRUyBtfCwuFwuMg2DmyNY=
245 | github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc=
246 | github.com/hashicorp/memberlist v0.2.2/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE=
247 | github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE=
248 | github.com/hashicorp/serf v0.9.5/go.mod h1:UWDWwZeL5cuWDJdl0C6wrvrUwEqtQ4ZKBKKENpqIUyk=
249 | github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4=
250 | github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
251 | github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
252 | github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
253 | github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
254 | github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
255 | github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
256 | github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
257 | github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
258 | github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
259 | github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
260 | github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
261 | github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
262 | github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
263 | github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
264 | github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
265 | github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
266 | github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
267 | github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
268 | github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
269 | github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
270 | github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
271 | github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
272 | github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
273 | github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
274 | github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
275 | github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
276 | github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w=
277 | github.com/magiconair/properties v1.8.5 h1:b6kJs+EmPFMYGkow9GiUyCyOvIwYetYJ3fSaWak/Gls=
278 | github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
279 | github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
280 | github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
281 | github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
282 | github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
283 | github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
284 | github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
285 | github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
286 | github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
287 | github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
288 | github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84=
289 | github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
290 | github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
291 | github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
292 | github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
293 | github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
294 | github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
295 | github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4=
296 | github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88=
297 | github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk=
298 | github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U=
299 | github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
300 | github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
301 | github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
302 | github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso=
303 | github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI=
304 | github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI=
305 | github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
306 | github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
307 | github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
308 | github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
309 | github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs=
310 | github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
311 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
312 | github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
313 | github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
314 | github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
315 | github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
316 | github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI=
317 | github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo=
318 | github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA=
319 | github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo=
320 | github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s=
321 | github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8=
322 | github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo=
323 | github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8=
324 | github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
325 | github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
326 | github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
327 | github.com/pelletier/go-toml v1.9.4 h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM=
328 | github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
329 | github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
330 | github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
331 | github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
332 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
333 | github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
334 | github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s=
335 | github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
336 | github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
337 | github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU=
338 | github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
339 | github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
340 | github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
341 | github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
342 | github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
343 | github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4=
344 | github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
345 | github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
346 | github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A=
347 | github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
348 | github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
349 | github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
350 | github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
351 | github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
352 | github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
353 | github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
354 | github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
355 | github.com/sagikazarmark/crypt v0.3.0/go.mod h1:uD/D+6UF4SrIR1uGEv7bBNkNqLGqUr43MRiaGWX1Nig=
356 | github.com/sagikazarmark/crypt v0.4.0/go.mod h1:ALv2SRj7GxYV4HO9elxH9nS6M9gW+xDNxqmyJ6RfDFM=
357 | github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
358 | github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
359 | github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
360 | github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
361 | github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4=
362 | github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY=
363 | github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I=
364 | github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA=
365 | github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
366 | github.com/spf13/cobra v1.3.0/go.mod h1:BrRVncBjOJa/eUcVVm9CE+oC6as8k+VYr4NY7WCi9V4=
367 | github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
368 | github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
369 | github.com/spf13/cobra-cli v1.3.0 h1:Y/qy0X40kDT+k7PCyBQrsjh/qOf9t/ZVScbn0OyZD84=
370 | github.com/spf13/cobra-cli v1.3.0/go.mod h1:zq1KeHo/9SQm1tNdbJhwVDd9bVpokbQwuG6MR0TFCdE=
371 | github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
372 | github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
373 | github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
374 | github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
375 | github.com/spf13/viper v1.10.0/go.mod h1:SoyBPwAtKDzypXNDFKN5kzH7ppppbGZtls1UpIy5AsM=
376 | github.com/spf13/viper v1.10.1 h1:nuJZuYpG7gTj/XqiUwg8bA0cp1+M2mC3J4g5luUYBKk=
377 | github.com/spf13/viper v1.10.1/go.mod h1:IGlFPqhNAPKRxohIzWpI5QEy4kuI7tcl5WvR+8qy1rU=
378 | github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
379 | github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
380 | github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
381 | github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
382 | github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
383 | github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
384 | github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
385 | github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
386 | github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
387 | github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
388 | github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
389 | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no=
390 | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
391 | github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
392 | github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
393 | github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
394 | github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
395 | github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
396 | go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
397 | go.etcd.io/etcd/client/pkg/v3 v3.5.1/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
398 | go.etcd.io/etcd/client/v2 v2.305.1/go.mod h1:pMEacxZW7o8pg4CrFE7pquyCJJzZvkvdD2RibOCCCGs=
399 | go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
400 | go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
401 | go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
402 | go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
403 | go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
404 | go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
405 | go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E=
406 | go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
407 | go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
408 | go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
409 | go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo=
410 | golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
411 | golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
412 | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
413 | golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
414 | golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
415 | golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
416 | golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY=
417 | golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
418 | golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
419 | golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
420 | golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
421 | golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
422 | golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
423 | golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
424 | golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
425 | golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
426 | golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
427 | golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
428 | golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
429 | golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
430 | golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
431 | golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
432 | golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
433 | golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
434 | golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
435 | golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
436 | golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
437 | golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
438 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
439 | golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs=
440 | golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
441 | golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
442 | golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
443 | golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
444 | golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
445 | golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
446 | golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
447 | golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
448 | golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
449 | golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
450 | golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
451 | golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
452 | golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
453 | golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
454 | golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
455 | golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
456 | golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
457 | golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
458 | golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
459 | golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
460 | golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
461 | golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
462 | golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
463 | golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
464 | golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
465 | golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
466 | golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
467 | golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
468 | golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
469 | golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
470 | golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
471 | golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
472 | golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
473 | golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
474 | golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
475 | golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
476 | golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
477 | golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
478 | golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
479 | golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
480 | golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
481 | golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
482 | golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
483 | golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
484 | golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
485 | golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
486 | golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
487 | golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
488 | golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
489 | golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
490 | golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
491 | golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
492 | golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc=
493 | golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
494 | golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8=
495 | golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
496 | golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
497 | golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
498 | golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
499 | golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
500 | golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
501 | golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
502 | golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
503 | golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
504 | golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
505 | golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
506 | golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
507 | golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
508 | golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
509 | golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
510 | golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
511 | golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
512 | golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
513 | golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
514 | golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
515 | golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
516 | golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
517 | golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
518 | golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
519 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
520 | golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
521 | golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
522 | golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
523 | golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
524 | golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
525 | golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
526 | golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
527 | golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
528 | golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
529 | golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
530 | golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
531 | golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
532 | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
533 | golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
534 | golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
535 | golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
536 | golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
537 | golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
538 | golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
539 | golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
540 | golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
541 | golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
542 | golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
543 | golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
544 | golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
545 | golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
546 | golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
547 | golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
548 | golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
549 | golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
550 | golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
551 | golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
552 | golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
553 | golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
554 | golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
555 | golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
556 | golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
557 | golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
558 | golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
559 | golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
560 | golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
561 | golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
562 | golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
563 | golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
564 | golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
565 | golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
566 | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
567 | golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
568 | golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
569 | golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
570 | golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
571 | golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
572 | golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
573 | golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
574 | golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
575 | golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
576 | golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
577 | golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
578 | golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
579 | golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
580 | golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
581 | golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
582 | golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
583 | golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
584 | golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
585 | golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
586 | golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
587 | golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
588 | golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
589 | golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
590 | golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
591 | golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
592 | golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
593 | golang.org/x/sys v0.0.0-20211210111614-af8b64212486 h1:5hpz5aRr+W1erYCL5JRhSUBJRph7l9XkNveoExlrKYk=
594 | golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
595 | golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
596 | golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
597 | golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
598 | golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
599 | golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
600 | golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
601 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
602 | golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
603 | golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
604 | golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
605 | golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
606 | golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
607 | golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
608 | golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
609 | golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
610 | golang.org/x/text v0.3.8 h1:nAL+RVCQ9uMn3vJZbV+MRnydTJFPf8qqY42YiA6MrqY=
611 | golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
612 | golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
613 | golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
614 | golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
615 | golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
616 | golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
617 | golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
618 | golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
619 | golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
620 | golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
621 | golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
622 | golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
623 | golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
624 | golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
625 | golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
626 | golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
627 | golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
628 | golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
629 | golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
630 | golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
631 | golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
632 | golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
633 | golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
634 | golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
635 | golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
636 | golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
637 | golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
638 | golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
639 | golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
640 | golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
641 | golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
642 | golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
643 | golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
644 | golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
645 | golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
646 | golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
647 | golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
648 | golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
649 | golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
650 | golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
651 | golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
652 | golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
653 | golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
654 | golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
655 | golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
656 | golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
657 | golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
658 | golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
659 | golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
660 | golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
661 | golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
662 | golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
663 | golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
664 | golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
665 | golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
666 | golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
667 | golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
668 | golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
669 | golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
670 | golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
671 | golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
672 | golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
673 | google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
674 | google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
675 | google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
676 | google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
677 | google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
678 | google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
679 | google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
680 | google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
681 | google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
682 | google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
683 | google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
684 | google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
685 | google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
686 | google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
687 | google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM=
688 | google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc=
689 | google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg=
690 | google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE=
691 | google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8=
692 | google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
693 | google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
694 | google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo=
695 | google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4=
696 | google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw=
697 | google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU=
698 | google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k=
699 | google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE=
700 | google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE=
701 | google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI=
702 | google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU=
703 | google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I=
704 | google.golang.org/api v0.62.0/go.mod h1:dKmwPCydfsad4qCH08MSdgWjfHOyfpd4VtDGgRFdavw=
705 | google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo=
706 | google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
707 | google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
708 | google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
709 | google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
710 | google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
711 | google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
712 | google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
713 | google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
714 | google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
715 | google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
716 | google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
717 | google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
718 | google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
719 | google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
720 | google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
721 | google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
722 | google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
723 | google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
724 | google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
725 | google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
726 | google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
727 | google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA=
728 | google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
729 | google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
730 | google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
731 | google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
732 | google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
733 | google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
734 | google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
735 | google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
736 | google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
737 | google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U=
738 | google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
739 | google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
740 | google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
741 | google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
742 | google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
743 | google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
744 | google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
745 | google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
746 | google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
747 | google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
748 | google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
749 | google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
750 | google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
751 | google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
752 | google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A=
753 | google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
754 | google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
755 | google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
756 | google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
757 | google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24=
758 | google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k=
759 | google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k=
760 | google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48=
761 | google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48=
762 | google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w=
763 | google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
764 | google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
765 | google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
766 | google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
767 | google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
768 | google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
769 | google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
770 | google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
771 | google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
772 | google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
773 | google.golang.org/genproto v0.0.0-20211203200212-54befc351ae9/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
774 | google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
775 | google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
776 | google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
777 | google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
778 | google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
779 | google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
780 | google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
781 | google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
782 | google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
783 | google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
784 | google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
785 | google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
786 | google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
787 | google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
788 | google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
789 | google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0=
790 | google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
791 | google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8=
792 | google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
793 | google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
794 | google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
795 | google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
796 | google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
797 | google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
798 | google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE=
799 | google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE=
800 | google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
801 | google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
802 | google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
803 | google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
804 | google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
805 | google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
806 | google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
807 | google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
808 | google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
809 | google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
810 | google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
811 | google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
812 | google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
813 | google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
814 | google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
815 | google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
816 | google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
817 | google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
818 | gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
819 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
820 | gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
821 | gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
822 | gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
823 | gopkg.in/ini.v1 v1.66.2 h1:XfR1dOYubytKy4Shzc2LHrrGhU0lDCfDGG1yLPmpgsI=
824 | gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
825 | gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
826 | gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
827 | gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
828 | gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
829 | gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
830 | gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
831 | gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
832 | gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
833 | gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
834 | gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
835 | gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
836 | honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
837 | honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
838 | honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
839 | honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
840 | honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
841 | honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
842 | honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
843 | rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
844 | rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
845 | rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
846 |
--------------------------------------------------------------------------------