1
0
mirror of https://github.com/golang/go synced 2024-10-05 10:21:22 -06:00
go/src/cmd/gofmt/testdata/stdin4.golden
Russ Cox 48e9c771a1 gofmt: accept program fragments on standard input
This makes it possible to grab a block of code
in an editor and pipe it through gofmt, instead of
having to pipe in the entire file.

R=gri
CC=golang-dev
https://golang.org/cl/4973074
2011-09-12 15:41:49 -04:00

4 lines
21 B
Plaintext

// comment
i := 0