gobootcamp / clirescue Goto Github PK
View Code? Open in Web Editor NEWSomeone started a CLI tool in Go to consumer a web API, however the project isn't going so well, can you help?
Someone started a CLI tool in Go to consumer a web API, however the project isn't going so well, can you help?
Hi,
If I try to use "gobootcamp" account I get the following response
Username: gobootcamp
Password:
API response:
{"code":"invalid_authentication","kind":"error","error":"Invalid authentication credentials were presented.","possible_fix":"Recheck your name (email address or Tracker username) and password."}
Looks like the credentials are invalid. Do you have any other account that we can use?
Thanks!
The instructions in the README say
You can use the following demo Pivotal Tracker account:
Username: gobootcamp
Password: santamonica
returns the message:
API response:
{"code":"invalid_authentication","kind":"error","error":"Invalid authentication credentials were presented.","possible_fix":"Recheck your name (email address or Tracker username) and password."}
I was able to create a Pivotal Tracker account for myself that is free for 30 days and will see how far I can get with the project refactor during that time.
Fixes for readme instructions:
In Setup step 2.
go get github.com/$github_user/clirescue.git
cd $GOPATH/src/github.com/clirescue
There were no instructions on GoBootCamp or in this readme to setup the environment variable, $github_user. This is confusing for someone getting started.
Stevens-MacBook-Pro:go$ echo $github_user
Stevens-MacBook-Pro:go$
Second command:
Stevens-MacBook-Pro:go xxx$ cd $GOPATH/src/github.com/clirescue
-bash: cd: /Users/xxx/go/src/github.com/clirescue: No such file or directory
on running $ go run main.go
# command-line-arguments
./main.go:16:15: cannot use []cli.Command literal (type []cli.Command) as type []*cli.Command in assignment
./main.go:20:4: cannot use func literal (type func(*cli.Context)) as type cli.ActionFunc in
field value
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.