Skip to content

Commit

Permalink
export config
Browse files Browse the repository at this point in the history
  • Loading branch information
cappyzawa committed Oct 11, 2021
1 parent 9b08a7d commit 3e3a367
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/config/config_test.go → config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package config_test
import (
"testing"

"github.com/cappyzawa/terraform-registry/internal/config"
"github.com/cappyzawa/terraform-registry/config"
)

func TestParse(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/http/handler/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log"
"os"

"github.com/cappyzawa/terraform-registry/internal/config"
"github.com/cappyzawa/terraform-registry/config"
)

// Handler describes the handler for module
Expand Down
2 changes: 1 addition & 1 deletion internal/http/handler/provider/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path/filepath"
"strings"

"github.com/cappyzawa/terraform-registry/internal/config"
"github.com/cappyzawa/terraform-registry/config"
p "github.com/cappyzawa/terraform-registry/provider"
"github.com/go-chi/chi"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/http/handler/provider/download_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"testing"

"github.com/cappyzawa/terraform-registry/internal/config"
"github.com/cappyzawa/terraform-registry/config"
"github.com/cappyzawa/terraform-registry/internal/http/handler/provider"
"github.com/go-chi/chi"
"go.mercari.io/go-httpdoc"
Expand Down
2 changes: 1 addition & 1 deletion internal/http/handler/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log"
"os"

"github.com/cappyzawa/terraform-registry/internal/config"
"github.com/cappyzawa/terraform-registry/config"
)

// Handler describes the handler for provider
Expand Down
2 changes: 1 addition & 1 deletion internal/http/handler/provider/versions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"testing"

"github.com/cappyzawa/terraform-registry/internal/config"
"github.com/cappyzawa/terraform-registry/config"
"github.com/cappyzawa/terraform-registry/internal/http/handler/provider"
"github.com/go-chi/chi"
"go.mercari.io/go-httpdoc"
Expand Down
2 changes: 1 addition & 1 deletion internal/http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net"
"net/http"

"github.com/cappyzawa/terraform-registry/internal/config"
"github.com/cappyzawa/terraform-registry/config"
"github.com/cappyzawa/terraform-registry/internal/http/handler/module"
"github.com/cappyzawa/terraform-registry/internal/http/handler/provider"
"github.com/cappyzawa/terraform-registry/internal/http/handler/wellknown"
Expand Down
2 changes: 1 addition & 1 deletion internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strconv"
"time"

"github.com/cappyzawa/terraform-registry/internal/config"
"github.com/cappyzawa/terraform-registry/config"
"github.com/cappyzawa/terraform-registry/internal/http"
)

Expand Down
2 changes: 1 addition & 1 deletion provider/provider.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package provider

import "github.com/cappyzawa/terraform-registry/internal/config"
import "github.com/cappyzawa/terraform-registry/config"

// Versions describes response for provider verions
type Versions struct {
Expand Down

0 comments on commit 3e3a367

Please sign in to comment.