Skip to content

Commit fa8ad5b

Browse files
authored
Add canonical import directive (thriftrw#425)
I realized we never added the canonical import path directive for this repository so people were constantly cloning it into `$GOPATH/src/github.com/thriftrw/thriftrw-go` and failing to compile it because the imports are all under `go.uber.org/thriftrw`. This commit adds a canonical import path directive to avoid issues like this.
1 parent 62c753b commit fa8ad5b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8-
- No changes yet.
8+
### Fixed
9+
- Added canonical import path directive to avoid checking out ThriftRW at the
10+
wrong import path.
911

1012
## [1.20.1] - 2019-07-30
1113
### Fixed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
// THE SOFTWARE.
2020

21-
package main
21+
package main // import "go.uber.org/thriftrw"
2222

2323
import (
2424
"bytes"

0 commit comments

Comments
 (0)