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
import (

6
weed/filer/dameng/dameng_store.go

@ -1,13 +1,17 @@
//go:build dameng
// +build dameng
package dameng
import (
"context"
"database/sql"
"fmt"
"github.com/seaweedfs/seaweedfs/weed/glog"
"strings"
"time"
"github.com/seaweedfs/seaweedfs/weed/glog"
_ "gitee.com/chunanyong/dm"
"github.com/seaweedfs/seaweedfs/weed/filer"
"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
import (
"github.com/seaweedfs/seaweedfs/weed/filer/store_test"
"testing"
"github.com/seaweedfs/seaweedfs/weed/filer/store_test"
)
func TestStore(t *testing.T) {

Loading…
Cancel
Save