Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Try to clean up the readme pre formatting

  • Loading branch information...
commit 2b836840eeb4fe1ad8ea189a83cb6c78018986ff 1 parent accfeb6
Caleb Spare authored

Showing 1 changed file with 13 additions and 17 deletions. Show diff stats Hide diff stats

  1. +13 17 README.md
30 README.md
Source Rendered
@@ -82,25 +82,21 @@ go() {
82 82 * If you're using `git`, you'll want to ignore built vendor packages. Assuming you're using `vendor/` as your
83 83 vendor directory, your `.gitignore` should probably have these entries:
84 84
85   - ```
86   - /vendor/pkg
87   - /vendor/bin
88   - ```
  85 + /vendor/pkg
  86 + /vendor/bin
89 87 * `glp` will add any number of directories to your `$GOPATH`. Just put one on each line.
90 88 * You can use the fact that `glp` adds the current (project root) director to the `$GOPATH` to organize your
91 89 app's packages, if you want (notice this means that your app code can live anywhere -- it's not limited to
92 90 your normal `$GOPATH`). Example structure:
93 91
94   - ```
95   - PROJECT_ROOT/
96   - `-.glp # Contains the single line "vendor"
97   - `-app.go # package main. Imports "util" and "github.com/bob/foobar"
98   - `-src/
99   - `-util/
100   - `-util.go # package util
101   - `-vendor/
102   - `-src/
103   - `-github.com/
104   - `-bob/
105   - `-foobar/
106   - ```
  92 + PROJECT_ROOT/
  93 + `-.glp # Contains the single line "vendor"
  94 + `-app.go # package main. Imports "util" and "github.com/bob/foobar"
  95 + `-src/
  96 + `-util/
  97 + `-util.go # package util
  98 + `-vendor/
  99 + `-src/
  100 + `-github.com/
  101 + `-bob/
  102 + `-foobar/

0 comments on commit 2b83684

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