Skip to content

Commit

Permalink
refactor: rename packages to pkg
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Chodur <[email protected]>
  • Loading branch information
FUSAKLA committed Oct 31, 2023
1 parent 970a5d9 commit fd7e589
Show file tree
Hide file tree
Showing 15 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"strings"
"time"

"github.com/fusakla/autograf/packages/generator"
"github.com/fusakla/autograf/packages/grafana"
"github.com/fusakla/autograf/packages/prometheus"
"github.com/fusakla/autograf/pkg/generator"
"github.com/fusakla/autograf/pkg/grafana"
"github.com/fusakla/autograf/pkg/prometheus"
)

type AuthenticatedTransport struct {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/grafana/dashboard.go → pkg/grafana/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"slices"
"strings"

"github.com/fusakla/autograf/packages/generator"
"github.com/fusakla/autograf/pkg/generator"
"github.com/fusakla/sdk"
"golang.org/x/exp/maps"
)
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"regexp"
"time"

"github.com/fusakla/autograf/packages/generator"
"github.com/fusakla/autograf/pkg/generator"
"github.com/prometheus/client_golang/api"
v1 "github.com/prometheus/client_golang/api/prometheus/v1"
"github.com/prometheus/common/model"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io"
"strings"

"github.com/fusakla/autograf/packages/generator"
"github.com/fusakla/autograf/pkg/generator"
"github.com/prometheus/prometheus/model/textparse"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/fusakla/autograf/packages/generator"
"github.com/fusakla/autograf/pkg/generator"
)

func guessMetricType(metric *generator.Metric) {
Expand Down

0 comments on commit fd7e589

Please sign in to comment.