1
0
mirror of https://github.com/golang/go synced 2024-11-20 02:04:39 -07:00
go/src/internal
Sebastien Binet 9a3ee2d217 cmd/gofmt, go/format: refactor common pieces into internal/format
cmd/gofmt and go/format had 3 functions (parse, format and isSpace)
that had to be kept in-sync.

This CL extracts these 3 functions and refactors them into a new
internal/format package.
This CL is just code reorganization with no behavior nor semantic
change.

Change-Id: I593f24e9d3cadbbd9559a67e3b1d2ff190b4fd90
Reviewed-on: https://go-review.googlesource.com/6760
Reviewed-by: Robert Griesemer <gri@golang.org>
2015-04-01 17:35:26 +00:00
..
format cmd/gofmt, go/format: refactor common pieces into internal/format 2015-04-01 17:35:26 +00:00
mime net/mail: move RFC 2047 code to internal/mime 2015-02-23 17:46:37 +00:00
syscall crypto/x509: use syscall.GetVersion instead of internal/syscall/windows.GetVersion 2015-03-31 08:11:24 +00:00
trace runtime: remove futile wakeups from trace 2015-03-17 14:14:55 +00:00