go-flags

109 views
Skip to first unread message

Robert Solomon

unread,
Jan 15, 2023, 11:11:05 AM1/15/23
to golang-nuts
I'm trying to learn how to use the go-flags package from github.
When I do:  go get github.com/jessevdk/go-flags, I'm getting the error below, and I don't understand why

go get: module github.com/jessievdk/go-flags: git ls-remote -q origin in /home/rob/go/pkg/mod/cache/vcs/911474c21097b0efc171a365eafdb4b5350619450c2b7cd5f2028b0ac187dc9d: exit status 128:
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Confirm the import path was entered correctly.
If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

Kurtis Rader

unread,
Jan 15, 2023, 2:16:19 PM1/15/23
to Robert Solomon, golang-nuts
Works for me:

go: downloading github.com/jessevdk/go-flags v1.5.0
go: added github.com/jessevdk/go-flags v1.5.0

Are you running that from inside a corporate firewall? Do you have a proxy enabled?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/09a61126-fed3-4d02-81c0-9da75cc23de7n%40googlegroups.com.


--
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank
Reply all
Reply to author
Forward
0 new messages