Browse Source

add dameng build tags

pull/6061/head
Vegetable540 1 month ago
parent
commit
5e5e90a466
  1. 3
      weed/filer/dameng/dameng_sql_gen.go
  2. 6
      weed/filer/dameng/dameng_store.go
  3. 6
      weed/filer/dameng/dameng_store_test.go

3
weed/filer/dameng/dameng_sql_gen.go

@ -1,3 +1,6 @@
//go:build dameng
// +build dameng
package dameng package dameng
import ( import (

6
weed/filer/dameng/dameng_store.go

@ -1,13 +1,17 @@
//go:build dameng
// +build dameng
package dameng package dameng
import ( import (
"context" "context"
"database/sql" "database/sql"
"fmt" "fmt"
"github.com/seaweedfs/seaweedfs/weed/glog"
"strings" "strings"
"time" "time"
"github.com/seaweedfs/seaweedfs/weed/glog"
_ "gitee.com/chunanyong/dm" _ "gitee.com/chunanyong/dm"
"github.com/seaweedfs/seaweedfs/weed/filer" "github.com/seaweedfs/seaweedfs/weed/filer"
"github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql" "github.com/seaweedfs/seaweedfs/weed/filer/abstract_sql"

6
weed/filer/dameng/dameng_store_test.go

@ -1,8 +1,12 @@
//go:build dameng
// +build dameng
package dameng package dameng
import ( import (
"github.com/seaweedfs/seaweedfs/weed/filer/store_test"
"testing" "testing"
"github.com/seaweedfs/seaweedfs/weed/filer/store_test"
) )
func TestStore(t *testing.T) { func TestStore(t *testing.T) {

Loading…
Cancel
Save