chore(go): use lowercase module import path (#2560)

* chore(go): use lowercase module import path
* ci: scope checks for Go module changes
This commit is contained in:
KKRainbow
2026-09-10 15:13:55 +08:00
committed by GitHub
parent 86d942ec8c
commit 3d0c9c3ca5
63 changed files with 176 additions and 116 deletions
+44
View File
@@ -0,0 +1,44 @@
name: EasyTier Go
on:
push:
branches: ["develop", "main", "releases/**"]
paths:
- "easytier-go/**"
- ".github/workflows/go.yml"
pull_request:
branches: ["develop", "main"]
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "easytier-go/**"
- ".github/workflows/go.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
name: Test Go modules
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: "1.25.x"
cache-dependency-path: |
easytier-go/go.sum
easytier-go/examples/tun/go.sum
- name: Test main module
working-directory: easytier-go
run: go test ./...
- name: Test TUN example module
working-directory: easytier-go/examples/tun
run: go test ./...
+17 -1
View File
@@ -30,6 +30,7 @@ on:
type: boolean
permissions:
actions: write
contents: read
pull-requests: read
@@ -41,9 +42,24 @@ defaults:
shell: bash
jobs:
pre_job:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip == 'true' && github.ref_type != 'tag' && github.ref_name != 'main' && !startsWith(github.ref_name, 'releases/') }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content_newer'
skip_after_successful_duplicate: 'true'
cancel_others: 'true'
paths: '["Cargo.toml", "Cargo.lock", "rust-toolchain.toml", ".cargo/**", "easytier/**", "easytier-core/**", "easytier-proto/**", "easytier-contrib/easytier-ohrs/**", ".github/workflows/ohos.yml", ".github/actions/**"]'
ohos:
name: ohos
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-latest
steps:
+1 -1
View File
@@ -9,7 +9,7 @@ and imported by that artifact.
import (
"net/netip"
corehost "github.com/EasyTier/EasyTier/easytier-go"
corehost "github.com/easytier/easytier/easytier-go"
)
```
+2 -2
View File
@@ -20,8 +20,8 @@ import (
"sync/atomic"
"syscall"
corehost "github.com/EasyTier/EasyTier/easytier-go"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
corehost "github.com/easytier/easytier/easytier-go"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
)
type options struct {
+2 -2
View File
@@ -16,8 +16,8 @@ import (
"syscall"
"time"
corehost "github.com/EasyTier/EasyTier/easytier-go"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
corehost "github.com/easytier/easytier/easytier-go"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
)
const maxUDPPayload = 65507
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"testing"
"time"
corehost "github.com/EasyTier/EasyTier/easytier-go"
"github.com/EasyTier/EasyTier/easytier-go/proto/common"
corehost "github.com/easytier/easytier/easytier-go"
"github.com/easytier/easytier/easytier-go/proto/common"
)
func TestParseOptions(t *testing.T) {
+3 -3
View File
@@ -1,9 +1,9 @@
module github.com/EasyTier/EasyTier/easytier-go/examples/tun
module github.com/easytier/easytier/easytier-go/examples/tun
go 1.25.0
require (
github.com/EasyTier/EasyTier/easytier-go v0.0.0
github.com/easytier/easytier/easytier-go v0.0.0
github.com/sagernet/sing-tun v0.8.11
)
@@ -31,4 +31,4 @@ require (
google.golang.org/protobuf v1.36.11 // indirect
)
replace github.com/EasyTier/EasyTier/easytier-go => ../..
replace github.com/easytier/easytier/easytier-go => ../..
+1 -1
View File
@@ -17,7 +17,7 @@ import (
"syscall"
"time"
corehost "github.com/EasyTier/EasyTier/easytier-go"
corehost "github.com/easytier/easytier/easytier-go"
tun "github.com/sagernet/sing-tun"
)
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"strings"
"syscall"
corehost "github.com/EasyTier/EasyTier/easytier-go"
corehost "github.com/easytier/easytier/easytier-go"
)
type options struct {
+1 -1
View File
@@ -1,4 +1,4 @@
module github.com/EasyTier/EasyTier/easytier-go
module github.com/easytier/easytier/easytier-go
go 1.20
+1 -1
View File
@@ -3,7 +3,7 @@ package host
import (
"context"
internalhost "github.com/EasyTier/EasyTier/easytier-go/internal/host"
internalhost "github.com/easytier/easytier/easytier-go/internal/host"
)
type State = internalhost.State
+1 -1
View File
@@ -1,6 +1,6 @@
package host
import internalhost "github.com/EasyTier/EasyTier/easytier-go/internal/host"
import internalhost "github.com/easytier/easytier/easytier-go/internal/host"
// P2PPolicy controls when an instance attempts peer-to-peer connections.
type P2PPolicy = internalhost.P2PPolicy
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"errors"
"fmt"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
"github.com/metacubex/wazero/api"
)
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"math"
"net/netip"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
)
const (
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"net/netip"
"net/url"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
const createConfigVersion = 14
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net/netip"
"testing"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
func TestEncodeCreateEnvelopeOwnsVersionAndEnvironmentSchema(t *testing.T) {
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"sync/atomic"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
)
const maxDataPlaneTransfer = 1024 * 1024
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"syscall"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
)
const dataPlaneCompletionBatch = 64
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
)
type recordingCore struct {
+6 -6
View File
@@ -8,12 +8,12 @@ import (
"sync"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/artifact"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/EasyTier/EasyTier/easytier-go/internal/hostabi"
"github.com/EasyTier/EasyTier/easytier-go/internal/reactor"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/internal/artifact"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/hostabi"
"github.com/easytier/easytier/easytier-go/internal/reactor"
"github.com/easytier/easytier/easytier-go/platform"
"github.com/metacubex/wazero"
"github.com/metacubex/wazero/api"
"github.com/metacubex/wazero/imports/wasi_snapshot_preview1"
+3 -3
View File
@@ -10,9 +10,9 @@ import (
"sync/atomic"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/EasyTier/EasyTier/easytier-go/internal/reactor"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/reactor"
)
type commandKind uint8
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"testing"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/EasyTier/EasyTier/easytier-go/platform/netstd"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/platform/netstd"
)
const minimalConfig = `instance_id = "018f4fb1-7a2c-7d1f-9d89-935b0ad7e135"
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"sync"
"sync/atomic"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
)
type streamListener struct {
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"syscall"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
)
type packetConn struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt"
"net"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
)
type rpcCore interface {
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
)
type readyRPC struct {
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"sync/atomic"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
)
type WebClientOptions struct {
+9 -9
View File
@@ -8,16 +8,16 @@ import (
"strconv"
"strings"
"github.com/EasyTier/EasyTier/easytier-go/proto/common"
"github.com/easytier/easytier/easytier-go/proto/common"
"github.com/EasyTier/EasyTier/easytier-go/internal/artifact"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
"github.com/EasyTier/EasyTier/easytier-go/internal/coreabi"
"github.com/EasyTier/EasyTier/easytier-go/internal/engine"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/EasyTier/EasyTier/easytier-go/platform/netstd"
hostproto "github.com/EasyTier/EasyTier/easytier-go/proto"
"github.com/EasyTier/EasyTier/easytier-go/proto/api/manage"
"github.com/easytier/easytier/easytier-go/internal/artifact"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
"github.com/easytier/easytier/easytier-go/internal/coreabi"
"github.com/easytier/easytier/easytier-go/internal/engine"
"github.com/easytier/easytier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform/netstd"
hostproto "github.com/easytier/easytier/easytier-go/proto"
"github.com/easytier/easytier/easytier-go/proto/api/manage"
)
type State int32
+6 -6
View File
@@ -12,12 +12,12 @@ import (
"sync"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
apiconfig "github.com/EasyTier/EasyTier/easytier-go/proto/api/config"
apiinstance "github.com/EasyTier/EasyTier/easytier-go/proto/api/instance"
"github.com/EasyTier/EasyTier/easytier-go/proto/api/manage"
"github.com/EasyTier/EasyTier/easytier-go/proto/common"
errorpb "github.com/EasyTier/EasyTier/easytier-go/proto/error"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
apiconfig "github.com/easytier/easytier/easytier-go/proto/api/config"
apiinstance "github.com/easytier/easytier/easytier-go/proto/api/instance"
"github.com/easytier/easytier/easytier-go/proto/api/manage"
"github.com/easytier/easytier/easytier-go/proto/common"
errorpb "github.com/easytier/easytier/easytier-go/proto/error"
"google.golang.org/protobuf/proto"
)
+4 -4
View File
@@ -8,10 +8,10 @@ import (
"testing"
"time"
apiconfig "github.com/EasyTier/EasyTier/easytier-go/proto/api/config"
apiinstance "github.com/EasyTier/EasyTier/easytier-go/proto/api/instance"
"github.com/EasyTier/EasyTier/easytier-go/proto/api/manage"
"github.com/EasyTier/EasyTier/easytier-go/proto/common"
apiconfig "github.com/easytier/easytier/easytier-go/proto/api/config"
apiinstance "github.com/easytier/easytier/easytier-go/proto/api/instance"
"github.com/easytier/easytier/easytier-go/proto/api/manage"
"github.com/easytier/easytier/easytier-go/proto/common"
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/proto"
)
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"fmt"
"time"
apiinstance "github.com/EasyTier/EasyTier/easytier-go/proto/api/instance"
"github.com/EasyTier/EasyTier/easytier-go/proto/common"
apiinstance "github.com/easytier/easytier/easytier-go/proto/api/instance"
"github.com/easytier/easytier/easytier-go/proto/common"
"google.golang.org/protobuf/proto"
)
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os"
"runtime"
"github.com/EasyTier/EasyTier/easytier-go/internal/engine"
"github.com/easytier/easytier/easytier-go/internal/engine"
)
type WebClientOptions struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/EasyTier/EasyTier/easytier-go/internal/reactor"
"github.com/easytier/easytier/easytier-go/internal/reactor"
"github.com/metacubex/wazero"
)
@@ -12,9 +12,9 @@ import (
"testing"
"time"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
"github.com/EasyTier/EasyTier/easytier-go/internal/reactor"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
"github.com/easytier/easytier/easytier-go/internal/reactor"
"github.com/easytier/easytier/easytier-go/platform"
"github.com/metacubex/wazero"
"github.com/metacubex/wazero/api"
"github.com/metacubex/wazero/imports/wasi_snapshot_preview1"
+1 -1
View File
@@ -3,7 +3,7 @@ package hostabi
import (
"context"
"github.com/EasyTier/EasyTier/easytier-go/internal/reactor"
"github.com/easytier/easytier/easytier-go/internal/reactor"
"github.com/metacubex/wazero/api"
)
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"net/netip"
"unicode/utf8"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
const (
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"net"
"unicode/utf8"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
"github.com/metacubex/wazero/api"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package hostabi
import (
"errors"
"github.com/EasyTier/EasyTier/easytier-go/internal/reactor"
"github.com/easytier/easytier/easytier-go/internal/reactor"
)
const (
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"net"
"net/netip"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
type DNSKind uint8
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt"
"net"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
type environmentOperation struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt"
"net"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
type createOperation struct {
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"net"
"sync"
"github.com/EasyTier/EasyTier/easytier-go/internal/contextutil"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/internal/contextutil"
"github.com/easytier/easytier/easytier-go/platform"
)
var (
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing"
"time"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
func TestOperationIDsAreUniqueAcrossOperationKinds(t *testing.T) {
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"net/netip"
"syscall"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
// SocketFactory implements platform.SocketFactory with the Go standard
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net"
"testing"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
func TestDNSResolverNormalizesIPv4Literal(t *testing.T) {
@@ -6,7 +6,7 @@ import (
"fmt"
"runtime"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
func applyTCPSocketOptions(
@@ -5,7 +5,7 @@ package netstd
import (
"fmt"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
"golang.org/x/sys/unix"
)
@@ -6,7 +6,7 @@ import (
"net"
"testing"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
)
func TestSocketFactoryUsesNativeTCPReuseAddrDefault(t *testing.T) {
@@ -5,7 +5,7 @@ package netstd
import (
"fmt"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform"
"golang.org/x/sys/windows"
)
+1 -1
View File
@@ -7,7 +7,7 @@
package acl
import (
common "github.com/EasyTier/EasyTier/easytier-go/proto/common"
common "github.com/easytier/easytier/easytier-go/proto/common"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
@@ -7,10 +7,10 @@
package config
import (
acl "github.com/EasyTier/EasyTier/easytier-go/proto/acl"
instance "github.com/EasyTier/EasyTier/easytier-go/proto/api/instance"
manage "github.com/EasyTier/EasyTier/easytier-go/proto/api/manage"
common "github.com/EasyTier/EasyTier/easytier-go/proto/common"
acl "github.com/easytier/easytier/easytier-go/proto/acl"
instance "github.com/easytier/easytier/easytier-go/proto/api/instance"
manage "github.com/easytier/easytier/easytier-go/proto/api/manage"
common "github.com/easytier/easytier/easytier-go/proto/common"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
@@ -7,9 +7,9 @@
package instance
import (
acl "github.com/EasyTier/EasyTier/easytier-go/proto/acl"
common "github.com/EasyTier/EasyTier/easytier-go/proto/common"
peer_rpc "github.com/EasyTier/EasyTier/easytier-go/proto/peer_rpc"
acl "github.com/easytier/easytier/easytier-go/proto/acl"
common "github.com/easytier/easytier/easytier-go/proto/common"
peer_rpc "github.com/easytier/easytier/easytier-go/proto/peer_rpc"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
@@ -7,10 +7,10 @@
package manage
import (
acl "github.com/EasyTier/EasyTier/easytier-go/proto/acl"
instance "github.com/EasyTier/EasyTier/easytier-go/proto/api/instance"
common "github.com/EasyTier/EasyTier/easytier-go/proto/common"
peer_rpc "github.com/EasyTier/EasyTier/easytier-go/proto/peer_rpc"
acl "github.com/easytier/easytier/easytier-go/proto/acl"
instance "github.com/easytier/easytier/easytier-go/proto/api/instance"
common "github.com/easytier/easytier/easytier-go/proto/common"
peer_rpc "github.com/easytier/easytier/easytier-go/proto/peer_rpc"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
+1 -1
View File
@@ -7,7 +7,7 @@
package common
import (
error1 "github.com/EasyTier/EasyTier/easytier-go/proto/error"
error1 "github.com/easytier/easytier/easytier-go/proto/error"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
+1 -1
View File
@@ -7,7 +7,7 @@
package peer_rpc
import (
common "github.com/EasyTier/EasyTier/easytier-go/proto/common"
common "github.com/easytier/easytier/easytier-go/proto/common"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
+1 -1
View File
@@ -7,7 +7,7 @@
package web
import (
common "github.com/EasyTier/EasyTier/easytier-go/proto/common"
common "github.com/easytier/easytier/easytier-go/proto/common"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
+1 -1
View File
@@ -1,6 +1,6 @@
package host
import internalhost "github.com/EasyTier/EasyTier/easytier-go/internal/host"
import internalhost "github.com/easytier/easytier/easytier-go/internal/host"
// PeerInfo describes one peer visible to an EasyTier instance.
type PeerInfo = internalhost.PeerInfo
+9 -9
View File
@@ -23,15 +23,15 @@ fi
protoc \
-I "${proto_root}" \
--go_out="${repository_root}" \
--go_opt=module=github.com/EasyTier/EasyTier/easytier-go \
--go_opt=Mcommon.proto=github.com/EasyTier/EasyTier/easytier-go/proto/common \
--go_opt=Merror.proto=github.com/EasyTier/EasyTier/easytier-go/proto/error \
--go_opt=Macl.proto=github.com/EasyTier/EasyTier/easytier-go/proto/acl \
--go_opt=Mpeer_rpc.proto=github.com/EasyTier/EasyTier/easytier-go/proto/peer_rpc \
--go_opt=Mapi_instance.proto=github.com/EasyTier/EasyTier/easytier-go/proto/api/instance \
--go_opt=Mapi_config.proto=github.com/EasyTier/EasyTier/easytier-go/proto/api/config \
--go_opt=Mapi_manage.proto=github.com/EasyTier/EasyTier/easytier-go/proto/api/manage \
--go_opt=Mweb.proto=github.com/EasyTier/EasyTier/easytier-go/proto/web \
--go_opt=module=github.com/easytier/easytier/easytier-go \
--go_opt=Mcommon.proto=github.com/easytier/easytier/easytier-go/proto/common \
--go_opt=Merror.proto=github.com/easytier/easytier/easytier-go/proto/error \
--go_opt=Macl.proto=github.com/easytier/easytier/easytier-go/proto/acl \
--go_opt=Mpeer_rpc.proto=github.com/easytier/easytier/easytier-go/proto/peer_rpc \
--go_opt=Mapi_instance.proto=github.com/easytier/easytier/easytier-go/proto/api/instance \
--go_opt=Mapi_config.proto=github.com/easytier/easytier/easytier-go/proto/api/config \
--go_opt=Mapi_manage.proto=github.com/easytier/easytier/easytier-go/proto/api/manage \
--go_opt=Mweb.proto=github.com/easytier/easytier/easytier-go/proto/web \
"${proto_root}/common.proto" \
"${proto_root}/error.proto" \
"${proto_root}/acl.proto" \
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"testing"
"time"
corehost "github.com/EasyTier/EasyTier/easytier-go"
"github.com/EasyTier/EasyTier/easytier-go/platform"
corehost "github.com/easytier/easytier/easytier-go"
"github.com/easytier/easytier/easytier-go/platform"
)
func TestPublicDataPlaneTCPAndUDP(t *testing.T) {
+4 -4
View File
@@ -14,10 +14,10 @@ import (
"testing"
"time"
corehost "github.com/EasyTier/EasyTier/easytier-go"
"github.com/EasyTier/EasyTier/easytier-go/platform"
"github.com/EasyTier/EasyTier/easytier-go/platform/netstd"
hostproto "github.com/EasyTier/EasyTier/easytier-go/proto"
corehost "github.com/easytier/easytier/easytier-go"
"github.com/easytier/easytier/easytier-go/platform"
"github.com/easytier/easytier/easytier-go/platform/netstd"
hostproto "github.com/easytier/easytier/easytier-go/proto"
)
func TestPublicLifecycleDoesNotExposeWazero(t *testing.T) {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"testing"
"time"
corehost "github.com/EasyTier/EasyTier/easytier-go"
corehost "github.com/easytier/easytier/easytier-go"
)
func TestPublicManagementRPCMethods(t *testing.T) {
+1 -1
View File
@@ -14,7 +14,7 @@ import (
"testing"
"time"
corehost "github.com/EasyTier/EasyTier/easytier-go"
corehost "github.com/easytier/easytier/easytier-go"
)
func TestWebClientEndToEnd(t *testing.T) {
+1 -1
View File
@@ -1,6 +1,6 @@
package host
import internalhost "github.com/EasyTier/EasyTier/easytier-go/internal/host"
import internalhost "github.com/easytier/easytier/easytier-go/internal/host"
type WebClientOptions = internalhost.WebClientOptions