Skip to content

Commit ecec258

Browse files
committed
Rename internal/ to core/ - fixes #128
1 parent fb6f349 commit ecec258

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+93
-93
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: env CGO_ENABLED=0 GOOS=windows go build -o geesefs-win-x64.exe -v
3434

3535
- name: Build tests
36-
run: go test -c github.com/yandex-cloud/geesefs/internal -o geesefs-tests-linux-amd64
36+
run: go test -c github.com/yandex-cloud/geesefs/core -o geesefs-tests-linux-amd64
3737

3838
- name: Publish to S3
3939
run: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ install:
2525

2626
.PHONY: protoc
2727
protoc:
28-
protoc --go_out=. --experimental_allow_proto3_optional --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative internal/pb/*.proto
28+
protoc --go_out=. --experimental_allow_proto3_optional --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative core/pb/*.proto

internal/aws_test.go renamed to core/aws_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package internal
15+
package core
1616

1717
import (
18-
"github.com/yandex-cloud/geesefs/internal/cfg"
18+
"github.com/yandex-cloud/geesefs/core/cfg"
1919
. "gopkg.in/check.v1"
2020

2121
"fmt"

internal/backend.go renamed to core/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
package internal
16+
package core
1717

1818
import (
1919
"fmt"

internal/backend_adlv1.go renamed to core/backend_adlv1.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
package internal
16+
package core
1717

1818
import (
19-
"github.com/yandex-cloud/geesefs/internal/cfg"
19+
"github.com/yandex-cloud/geesefs/core/cfg"
2020

2121
"bytes"
2222
"context"

internal/backend_adlv2.go renamed to core/backend_adlv2.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
package internal
17+
package core
1818

1919
import (
20-
"github.com/yandex-cloud/geesefs/internal/cfg"
20+
"github.com/yandex-cloud/geesefs/core/cfg"
2121

2222
"context"
2323
"encoding/base64"

internal/backend_azblob.go renamed to core/backend_azblob.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
package internal
16+
package core
1717

1818
import (
19-
"github.com/yandex-cloud/geesefs/internal/cfg"
19+
"github.com/yandex-cloud/geesefs/core/cfg"
2020

2121
"bytes"
2222
"context"

internal/backend_gcs3.go renamed to core/backend_gcs3.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
package internal
16+
package core
1717

1818
import (
19-
"github.com/yandex-cloud/geesefs/internal/cfg"
19+
"github.com/yandex-cloud/geesefs/core/cfg"
2020

2121
"context"
2222
"os"

internal/backend_s3.go renamed to core/backend_s3.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
package internal
16+
package core
1717

1818
import (
19-
"github.com/yandex-cloud/geesefs/internal/cfg"
19+
"github.com/yandex-cloud/geesefs/core/cfg"
2020
"golang.org/x/sync/errgroup"
2121

2222
"encoding/json"

internal/backend_test.go renamed to core/backend_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// See the License for the specific language governing permissions and
1515
// limitations under the License.
1616

17-
package internal
17+
package core
1818

1919
type TestBackend struct {
2020
StorageBackend

0 commit comments

Comments
 (0)