Skip to content

Commit

Permalink
パッケージ構造とリソースの論理階層を一致させる (#8)
Browse files Browse the repository at this point in the history
* パッケージ構造の整理
  - accountkey -> account/accesskey
  - sitestatus -> site/status
  • Loading branch information
yamamoto-febc committed Mar 24, 2022
1 parent 529f56b commit 84f1cc5
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package accountkey
package accesskey

import (
"github.com/sacloud/packages-go/validate"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package accountkey
package accesskey

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package accountkey
package accesskey

import (
"github.com/sacloud/packages-go/validate"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package accountkey
package accesskey

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package accountkey
package accesskey

import "github.com/sacloud/packages-go/validate"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package accountkey
package accesskey

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package accountkey
package accesskey

import (
"github.com/sacloud/packages-go/validate"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package accountkey
package accesskey

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion sitestatus/service.go → account/accesskey/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package sitestatus
package accesskey

import objectstorage "github.com/sacloud/object-storage-api-go"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package accountkey
package accesskey

import (
"net/http/httptest"
Expand Down
2 changes: 1 addition & 1 deletion sitestatus/read_request.go → site/status/read_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package sitestatus
package status

import (
"github.com/sacloud/packages-go/validate"
Expand Down
2 changes: 1 addition & 1 deletion sitestatus/read_service.go → site/status/read_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package sitestatus
package status

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion accountkey/service.go → site/status/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package accountkey
package status

import objectstorage "github.com/sacloud/object-storage-api-go"

Expand Down
2 changes: 1 addition & 1 deletion sitestatus/service_test.go → site/status/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package sitestatus
package status

import (
"net/http/httptest"
Expand Down

0 comments on commit 84f1cc5

Please sign in to comment.