]> Cypherpunks repositories - gostls13.git/commit
go/format, cmd/gofmt: avoid dependency on internal package format
authorRobert Griesemer <gri@golang.org>
Mon, 28 Sep 2015 21:42:21 +0000 (14:42 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 30 Sep 2015 16:32:47 +0000 (16:32 +0000)
commita4fc3512ba85125d51e5e27491a6dd331cd2599b
treeb15d7b1bb77df79996f5b338c6409b38b7871095
parente78e654c1de0a7bfe0314d6954d42b046f14f1bb
go/format, cmd/gofmt: avoid dependency on internal package format

Fixes #11844.

Change-Id: I32edd39e79f7c9bdc132c49bd06081f35dac245d
Reviewed-on: https://go-review.googlesource.com/15114
Reviewed-by: Alan Donovan <adonovan@google.com>
src/cmd/gofmt/gofmt.go
src/cmd/gofmt/internal.go [new file with mode: 0644]
src/cmd/gofmt/long_test.go
src/go/format/format.go
src/go/format/internal.go [moved from src/internal/format/format.go with 86% similarity]