mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
* Create platform specific directory definitions * Fix CLI integration test * Rename dirs to paths and get config path * Namespace * Fix initialization of dirs * Simplify and change description * Simplify * Fix build flag * Bump sqlite version * Bump xgo
17 lines
275 B
Go
17 lines
275 B
Go
package sync
|
|
|
|
import (
|
|
"github.com/dnote/dnote/pkg/cli/context"
|
|
"path/filepath"
|
|
)
|
|
|
|
var testDir = "../../tmp"
|
|
|
|
var paths context.Paths = context.Paths{
|
|
Home: testDir,
|
|
Cache: testDir,
|
|
Config: testDir,
|
|
Data: testDir,
|
|
}
|
|
|
|
var dbPath = filepath.Join(testDir, "test.db")
|