Skip to content

Commit

Permalink
Fix import path for atomic test dependency
Browse files Browse the repository at this point in the history
Fixes #18

Adds a change log.
  • Loading branch information
kriskowal committed Jul 29, 2019
1 parent c15da02 commit c5d043b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 7 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased
### Fixed
- Changed the import path for `go.uber.org/atomic` to its newer, canonical
import path.
[#18](https://github.com/uber-go/ratelimit/issues/18)

## [1.0.0] - 2016-09-09
- Initial release

[Unreleased]: https://github.com/uber-go/fx/compare/v1.0.0...master
[1.0.0]: https://github.com/uber-go/fx/tree/v1.0.0
20 changes: 15 additions & 5 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ testImport:
- package: github.com/stretchr/testify
subpackages:
- assert
- package: github.com/uber-go/atomic
- package: go.uber.org/atomic
2 changes: 1 addition & 1 deletion ratelimit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"testing"
"time"

"go.uber.org/atomic"
"go.uber.org/ratelimit"
"go.uber.org/ratelimit/internal/clock"

"github.com/stretchr/testify/assert"
"github.com/uber-go/atomic"
)

func ExampleRatelimit() {
Expand Down

0 comments on commit c5d043b

Please sign in to comment.