mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
271 B
Go
18 lines
271 B
Go
3 years ago
|
//go:build !release
|
||
|
// +build !release
|
||
|
|
||
|
package cmd
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
// GetDevProfile will return a profile for dev.
|
||
|
func GetDevProfile(dataDir string) Profile {
|
||
|
return Profile{
|
||
|
mode: "8080",
|
||
|
port: 1234,
|
||
|
dsn: fmt.Sprintf("file:%s/memos_dev.db", dataDir),
|
||
|
}
|
||
|
}
|