Make gofmt use the filename previously referenced

Signed-off-by: Jamie Hannaford <jamie.hannaford@rackspace.com>
This commit is contained in:
Jamie Hannaford 2015-03-26 20:39:15 +01:00
parent df90fb716b
commit 7fdf5257b4
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ Follow this workflow as you work:
For example, if you edited the `docker.go` file you would format the file
like this:
</p>
<p><code>$ gofmt -s -w file.go</code></p>
<p><code>$ gofmt -s -w docker.go</code></p>
<p>
Most file editors have a plugin to format for you. Check your editor's
documentation.