Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Try to clean up the readme pre formatting

  • Loading branch information...
commit 2b836840eeb4fe1ad8ea189a83cb6c78018986ff 1 parent accfeb6
@cespare authored
Showing with 13 additions and 17 deletions.
  1. +13 −17 README.md
View
30 README.md
@@ -82,25 +82,21 @@ go() {
* If you're using `git`, you'll want to ignore built vendor packages. Assuming you're using `vendor/` as your
vendor directory, your `.gitignore` should probably have these entries:
- ```
- /vendor/pkg
- /vendor/bin
- ```
+ /vendor/pkg
+ /vendor/bin
* `glp` will add any number of directories to your `$GOPATH`. Just put one on each line.
* You can use the fact that `glp` adds the current (project root) director to the `$GOPATH` to organize your
app's packages, if you want (notice this means that your app code can live anywhere -- it's not limited to
your normal `$GOPATH`). Example structure:
- ```
- PROJECT_ROOT/
- `-.glp # Contains the single line "vendor"
- `-app.go # package main. Imports "util" and "github.com/bob/foobar"
- `-src/
- `-util/
- `-util.go # package util
- `-vendor/
- `-src/
- `-github.com/
- `-bob/
- `-foobar/
- ```
+ PROJECT_ROOT/
+ `-.glp # Contains the single line "vendor"
+ `-app.go # package main. Imports "util" and "github.com/bob/foobar"
+ `-src/
+ `-util/
+ `-util.go # package util
+ `-vendor/
+ `-src/
+ `-github.com/
+ `-bob/
+ `-foobar/

0 comments on commit 2b83684

Please sign in to comment.
Something went wrong with that request. Please try again.