Skip to content

Commit

Permalink
refactor: rename package historic to history
Browse files Browse the repository at this point in the history
the package interacts with history it is not itself a thing from the past
  • Loading branch information
crhntr authored and staylor14 committed Jul 22, 2022
1 parent db4663a commit f973113
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions internal/release/notes_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

"github.com/pivotal-cf/kiln/internal/component"
"github.com/pivotal-cf/kiln/pkg/cargo"
"github.com/pivotal-cf/kiln/pkg/historic"
"github.com/pivotal-cf/kiln/pkg/history"
)

type ComponentData struct {
Expand Down Expand Up @@ -123,8 +123,8 @@ func newFetchNotesData(repo *git.Repository, tileRepoOwner string, tileRepoName
initialRevision: initialRevision,
finalRevision: finalRevision,

historicKilnfile: historic.Kilnfile,
historicVersion: historic.Version,
historicKilnfile: history.Kilnfile,
historicVersion: history.Version,
revisionResolver: repo,
Storer: repo.Storer,
repository: repo,
Expand Down
2 changes: 1 addition & 1 deletion pkg/historic/decode.go → pkg/history/decode.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package historic
package history

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion pkg/historic/historic.go → pkg/history/historic.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package historic
package history

import (
"bytes"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package historic
package history

import (
"testing"
Expand Down

0 comments on commit f973113

Please sign in to comment.