Browse Source

sqlite: does not support non-linux/darwin/windows

pull/2097/head
Chris Lu 4 years ago
parent
commit
67dd094b35
  1. 4
      weed/filer/sqlite/sqlite_store.go
  2. 9
      weed/filer/sqlite/sqlite_store_unsupported.go

4
weed/filer/sqlite/sqlite_store.go

@ -1,3 +1,7 @@
// +build linux darwin windows
// limited GOOS due to modernc.org/libc/unistd
package sqlite
import (

9
weed/filer/sqlite/sqlite_store_unsupported.go

@ -0,0 +1,9 @@
// +build !linux,!darwin,!windows
// limited GOOS due to modernc.org/libc/unistd
package sqlite
func init() {
// filer.Stores = append(filer.Stores, &SqliteStore{})
}
Loading…
Cancel
Save