Comments (4)
Thanks for making an issue!
go install
actually installs the binary to the GOBIN
environment variable, which is by default $HOME/go/bin
. If you add $HOME/go/bin
to your path this should work. I forgot that this wasn't done by default. I'll adjust the install instructions to mention that.
from yamlfmt.
Yeah fwiw I added this to my ~/.zshrc
: export PATH=$PATH:$(go env GOPATH)/bin
.
Thank you!
from yamlfmt.
Sorry I'd forgotten about this. In #73 I included a new line to suggest a DigitalOcean article that has a go install
setup guide. Hopefully this should work!
from yamlfmt.
Hi, I'm not sure if the DigitalOcean page you've linked to has changed since you linked to it, but I find the install process at least as confusing as without it. The DO docs are also confusing though, I think you want to link here for people to find the article for their own OS, but the one for mac at least implies that installing go using brew will set up the path for you which didn't work for me.
I think it would be clearer to just say that the $GOPATH
directory needs adding to your path if you've not used Go before, and how you do that will be dependent on your OS and shell (maybe add the ~/.zshrc
example by @jamesbraza above which is also what I used: export PATH=$PATH:$(go env GOPATH)/bin
)
Thanks!
from yamlfmt.
Related Issues (20)
- Unexpected reformatting of block scalar? HOT 2
- Preserve multiline for line ending with \ HOT 4
- Exclude is still a little bit wonky HOT 8
- Feature Request: Optional exclude content from .gitignore HOT 1
- Docs request: `best_width`, YAML library HOT 2
- Request: `indent` being respected beyond top level HOT 1
- Support system-installed yamlfmt HOT 15
- Wrong front matter interpretation HOT 1
- Feature request: allow to retain some empty lines HOT 5
- scan_folded_as_literal not behaving plausible with trailing whitespace HOT 4
- yamlfmt does not respect `excldue` HOT 5
- yamlfmt -dry and yamlfmt (no -dry) have a difference of opinion HOT 1
- Support finding a local yamlfmt config file named `.yamlfmt.yaml` HOT 1
- Simple, single line output when there is a file with incorrect formatting HOT 2
- Do not touch file if there are no changes HOT 5
- Preserve at most X lines setting
- bug: nested arrays are flattened HOT 3
- Get yamlfmt into official Debian repositories
- Infinite adding EOL HOT 4
- Broken stdout output in 0.12.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yamlfmt.