Skip to content

Commit

Permalink
rename pkg to conversion (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-kklein authored Sep 29, 2022
1 parent 10b73de commit 6d6a689
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Then you need a conversion logic for your `time.Time`s.
This library does the conversion for you.

## How To Use
todo: add mwe here
See [Go Playground](https://go.dev/play/p/6JrqbfswLc7) for a minimal working example.

## Implicit Requirements

Expand Down
2 changes: 1 addition & 1 deletion conversion/gastagconverter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pkg
package conversion

import (
"fmt"
Expand Down
6 changes: 3 additions & 3 deletions conversion/gastagconverter_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pkg_test
package conversion_test

import (
"github.com/corbym/gocrest/is"
Expand Down Expand Up @@ -26,8 +26,8 @@ func TestInit(t *testing.T) {
suite.Run(t, new(Suite))
}

func getBerlinConverter() pkg.GasTagConverter {
return pkg.NewGasTagConverter("Europe/Berlin")
func getBerlinConverter() conversion.GasTagConverter {
return conversion.NewGasTagConverter("Europe/Berlin")
}

func (s *Suite) Test_IsGermanMidnight_true() {
Expand Down

0 comments on commit 6d6a689

Please sign in to comment.