Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed stdin to work for windows. Updated GO 1.20 #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

1nd0
Copy link

@1nd0 1nd0 commented Jun 22, 2023

Fix password stdin to work on windows and upgraded golang to 1.20

Copy link
Owner

@abrander abrander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I often wondered if everything would work as expected on Windows.

Besides the changes to go.mod and go.sum and a minor code detail I think we can merge this right away.

connect/main.go Outdated Show resolved Hide resolved
go.mod Outdated
@@ -1,8 +1,16 @@
module github.com/abrander/garmin-connect
module github.com/garmin-connect
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya that is weird i dont know why go did that when i refreshed the go.mod for 1.20

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Figured it out . It was due to my folder structure


go 1.15
go 1.20
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Go 1.20 needed for this fix?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No i was just moving it to 1.20 as there are some tls security fixes so feel free to remove it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants