diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..afe504f --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: goreleaser +on: + push: + tags: + - '*' +permissions: + contents: write +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.22' + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v5 + with: + version: ${{ env.GITHUB_REF_NAME }} + args: release --clean --release-notes=./RELEASE.md + distribution: goreleaser + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_PUBLISHER_TOKEN }} diff --git a/.github/workflows/update-description.yml b/.github/workflows/update-description.yml new file mode 100644 index 0000000..b773ac8 --- /dev/null +++ b/.github/workflows/update-description.yml @@ -0,0 +1,25 @@ +name: Update repo description +on: + schedule: + - cron: '0 */6 * * *' + workflow_dispatch: +jobs: + update-description: + runs-on: macos-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + - name: Install yp + run: brew install martinsirbe/clinkclank/yp + - name: Generate repo description + id: generate-description + run: | + description=$(yp -t 10)" 👈 Progressing through "$(date +"%Y")", a simple Go app that displays the current year's progress through a dynamic progress bar, reflecting the percentage of the year elapsed." + echo "DESCRIPTION=$description" >> $GITHUB_ENV + - name: Update repo description + uses: octokit/request-action@v2.1.9 + with: + route: PATCH /repos/${{ github.repository }} + description: ${{ env.DESCRIPTION }} + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_PUBLISHER_TOKEN }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b1842ca --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +dist/ +./yp diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..3510ca6 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,52 @@ +version: 1 +project_name: yp +before: + hooks: + - go mod tidy +builds: + - main: ./cmd/yp + binary: yp + env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin +release: + prerelease: auto +universal_binaries: + - replace: true +brews: + - name: yp + description: "Year Progress Indicator" + homepage: "https://github.com/martinsirbe/go-year-progress" + repository: + owner: martinsirbe + name: homebrew-clinkclank + commit_author: + name: martinsirbe + email: martins_irbe@mail.com + caveats: | + Thank you for installing the Year Progress Indicator (yp)! Here are some tips to get started: + + ## Configuration and Usage + + - Run `yp` in any terminal to see how much of the current year has elapsed, represented through a visually appealing progress bar. + - Customise the appearance of your progress bar with CLI options or environment variables for a personalized touch: + - Use CLI options like `--location` to set your timezone or `--total-blocks` to adjust the progress bar's length. + - Alternatively, set environment variables such as `YP_LOCATION` and `YP_TOTAL_BLOCKS` for persistent configurations. + + ## Integration Ideas + + - **Terminal Welcome Message**: Enhance your terminal sessions by adding `yp` to your shell's profile (e.g., `.bashrc`, `.zshrc`), so you can visualize the year's progress with every new terminal window. + - **GitHub README**: Make your project README stand out by including the year's progress bar. + - **Daily Logs/Journals**: Incorporate the progress bar in your digital or printed logs as a unique way to track the passage of time. + - **Personal Websites**: Share the year's progression with visitors by integrating the tool's output into your site. + + For more details on options and configurations, run `yp --help` or check the GitHub repository: https://github.com/martinsirbe/yp + + Enjoy visualising the passage of time with yp, and feel free to contribute to its development! + test: | + system "#{bin}/yp", "--help" +checksum: + name_template: 'checksums.txt' diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..b0ff0c9 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,7 @@ +Copyright (c) 2024 Martins Irbe + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c680656 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +.PHONY: build +build: + go build -o yp cmd/yp/main.go + +.PHONY: release-local +release-local: + goreleaser release --snapshot --skip-publish --clean --rm-dist diff --git a/README.md b/README.md new file mode 100644 index 0000000..e2b5cf6 --- /dev/null +++ b/README.md @@ -0,0 +1,101 @@ +The Year Progress Indicator is a Go application that visually represents how much of the current year has elapsed. +It calculates the percentage of the year that has passed based on today's date and displays this information through +a progress bar composed of filled and unfilled segments. This utility is designed for those who would like to visualise +the passage of time throughout the year. + +# Features + +- **Automatic Date Calculation**: Dynamically computes the current date to determine the year's elapsed portion. +- **Leap Year Handling**: Accurately accounts for leap years in day counts. +- **Visual Progress Display**: Utilises `█` for the elapsed part of the year and `▁` for what remains, complemented by a percentage display. + +# Use Cases + +- **Terminal Welcome Message**: Add the `yp` command to your shell's profile file (e.g., `.bashrc` or `.zshrc`) to see the year's progress every time you open a new terminal window. +- **GitHub README**: Include the progress bar in your project's README.md to show the year's progress in a creative way. +- **Daily Logs/Journals**: Include the year's progress in digital or printed daily logs to visualize how much of the year has passed. +- **Project Milestones**: Use the progress indicator to track the passage of time relative to project deadlines or milestones. +- **Personal Websites**: Incorporate the tool's output into a personal or professional website to share the year's progression with visitors. + +# Installation + +For convenience, pre-built binaries are available for various platforms. Download the appropriate binary for your system from the releases page. + +## Homebrew + +To install the Year Progress Indicator using Homebrew on macOS or Linux, you can follow these steps: + +```shell +brew tap martinsirbe/clinkclank +brew install martinsirbe/clinkclank/yp +``` + +This will add the custom tap and install the `yp` CLI, making it readily accessible from any terminal. + +## Build from Source +Make sure you have Go installed. You can then install the Year Progress Indicator globally via the following command: + +```shell +go install github.com/martinsirbe/go-year-progress/cmd/yp@v0.1.0 +``` + +This command compiles and installs the binary to your Go bin directory, making it accessible from any terminal provided the directory is in your system's PATH. + +# Usage + +Run the tool from any terminal with `yp`. + +# Configuration + +You can configure the application using CLI options or by setting environment variables. This flexibility allows you to choose the most convenient method for your workflow. + +## CLI Options + +You can specify the following options directly through the command line: + +* `-e`, `--empty-char` - Character for empty sections of the progress bar (default "▁") +* `-f`, `--filled-char` - Character for filled sections of the progress bar (default "█") +* `-l`, `--location` - Timezone location for accurate time display (default "UTC") +* `-t`, `--total-blocks` - Total number of blocks in the progress bar (default 50) + +## Environment Variables + +As an alternative to CLI options, you can set the following environment variables. These are particularly useful for persistent configurations or for contexts where command-line arguments may not be ideal: + +* `YP_LOCATION` - Overrides the default timezone location. +* `YP_TOTAL_BLOCKS` - Sets the total number of blocks in the progress bar. +* `YP_FILLED_CHAR` - Specifies the character for filled sections of the progress bar. +* `YP_EMPTY_CHAR` - Specifies the character for empty sections of the progress bar. + +## Example Outputs + +Without any configuration, the output will look like this: +``` +███████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁ 15.18% +``` + +### Using CLI Options + +To customise the progress bar with CLI options, you might use the following command: +```shell +yp --location "America/New_York" --total-blocks 30 --filled-char "x" --empty-char "-" +``` + +### Using Environment Variables +Alternatively, you can achieve the same customisation by setting environment variables: +```shell +YP_LOCATION="America/New_York" YP_TOTAL_BLOCKS=30 YP_FILLED_CHAR="x" YP_EMPTY_CHAR="-" yp +``` + +Both of the above configurations adjust the progress bar to reflect a timezone of "America/New_York", a total of 30 blocks, with "x" representing filled sections and "-" for empty ones. The resulting output, assuming a similar progress of 15.18% UTC, would be: +```shell +xxxx-------------------------- 15.13% +``` + +# Contributing + +Feel free to contribute to the project by submitting pull requests or creating issues for bugs and feature requests. + +# License + +This project is licensed under the MIT License. See [LICENSE.md](LICENSE.md). diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000..2ab3ee0 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,6 @@ +### Features + +* **Automatic Date Calculation**: Dynamically computes the current date to determine the year's elapsed portion. +* **Leap Year Handling**: Accurately accounts for leap years in day counts. +* **Visual Progress Display**: Utilises `█` for the elapsed part of the year and `▁` for what remains, complemented by a percentage display. +* **Customisable Configuration**: The appearance and behaviour of the year progress bar can be customised through CLI options or environment variables, allowing for personalised settings for location, total blocks, and character representation of filled and empty sections. diff --git a/cmd/yp/main.go b/cmd/yp/main.go new file mode 100644 index 0000000..29bc1c9 --- /dev/null +++ b/cmd/yp/main.go @@ -0,0 +1,82 @@ +package main + +import ( + "fmt" + "os" + "time" + + "github.com/spf13/cobra" + "github.com/spf13/viper" +) + +var rootCmd = &cobra.Command{ + Use: "yp", + Short: "Year Progress Indicator", + Long: `The Year Progress Indicator is a Go application that visually represents how much of the current year has elapsed. +It calculates the percentage of the year that has passed based on today's date and displays this information through +a progress bar composed of filled and unfilled segments.`, + Run: func(cmd *cobra.Command, args []string) { + runYearProgress() + }, +} + +func init() { + cobra.OnInitialize(initConfig) + + rootCmd.PersistentFlags().StringP("location", "l", "UTC", "Timezone location") + rootCmd.PersistentFlags().IntP("total-blocks", "t", 50, "Total number of blocks in the progress bar") + rootCmd.PersistentFlags().StringP("filled-char", "f", "█", "Character for filled sections of the progress bar") + rootCmd.PersistentFlags().StringP("empty-char", "e", "▁", "Character for empty sections of the progress bar") + + viper.BindPFlag("location", rootCmd.PersistentFlags().Lookup("location")) + viper.BindPFlag("total_blocks", rootCmd.PersistentFlags().Lookup("total-blocks")) + viper.BindPFlag("filled_char", rootCmd.PersistentFlags().Lookup("filled-char")) + viper.BindPFlag("empty_char", rootCmd.PersistentFlags().Lookup("empty-char")) +} + +func initConfig() { + viper.SetEnvPrefix("yp") + viper.AutomaticEnv() + viper.ReadInConfig() +} + +func runYearProgress() { + location := viper.GetString("location") + totalBlocks := viper.GetInt("total_blocks") + filledChar := viper.GetString("filled_char") + emptyChar := viper.GetString("empty_char") + + loc, err := time.LoadLocation(location) + if err != nil { + fmt.Printf("Failed to load location: %s\n", err) + return + } + + now := time.Now().In(loc) + startOfYear := time.Date(now.Year(), 1, 1, 0, 0, 0, 0, loc) + endOfYear := time.Date(now.Year(), 12, 31, 23, 59, 59, 0, loc) + totalDays := endOfYear.Sub(startOfYear).Hours() / 24 + daysElapsed := now.Sub(startOfYear).Hours() / 24 + progress := (daysElapsed / totalDays) * 100 + + progressBar := "" + + filledBlocks := int((progress / 100) * float64(totalBlocks)) + for i := 0; i < filledBlocks; i++ { + progressBar += filledChar + } + + emptyBlocks := totalBlocks - filledBlocks + for i := 0; i < emptyBlocks; i++ { + progressBar += emptyChar + } + + fmt.Printf("%s %.2f%%\n", progressBar, progress) +} + +func main() { + if err := rootCmd.Execute(); err != nil { + fmt.Println(err) + os.Exit(1) + } +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..1af3e3f --- /dev/null +++ b/go.mod @@ -0,0 +1,31 @@ +module github.com/martinsirbe/go-year-progress + +go 1.22 + +require ( + github.com/spf13/cobra v1.8.0 + github.com/spf13/viper v1.18.2 +) + +require ( + github.com/fsnotify/fsnotify v1.7.0 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/magiconair/properties v1.8.7 // indirect + github.com/mitchellh/mapstructure v1.5.0 // indirect + github.com/pelletier/go-toml/v2 v2.1.0 // indirect + github.com/sagikazarmark/locafero v0.4.0 // indirect + github.com/sagikazarmark/slog-shim v0.1.0 // indirect + github.com/sourcegraph/conc v0.3.0 // indirect + github.com/spf13/afero v1.11.0 // indirect + github.com/spf13/cast v1.6.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/subosito/gotenv v1.6.0 // indirect + go.uber.org/atomic v1.9.0 // indirect + go.uber.org/multierr v1.9.0 // indirect + golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect + golang.org/x/sys v0.15.0 // indirect + golang.org/x/text v0.14.0 // indirect + gopkg.in/ini.v1 v1.67.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..b6a7dcc --- /dev/null +++ b/go.sum @@ -0,0 +1,75 @@ +github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= +github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= +github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= +github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= +github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= +github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= +github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ= +github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= +github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= +github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= +github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= +github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= +github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= +github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= +github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= +github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= +github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= +github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ= +github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMVB+yk= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= +github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= +go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= +go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= +go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= +golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= +golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= +gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=