tangled
alpha
login
or
join now
tom.sherman.is
/
piper
0
fork
atom
A fork of https://github.com/teal-fm/piper
0
fork
atom
overview
issues
pulls
pipelines
make data folder when needed
Natalie B.
11 months ago
cd902da4
de3dcceb
+4
1 changed file
expand all
collapse all
unified
split
main.go
+4
main.go
···
5
5
"fmt"
6
6
"log"
7
7
"net/http"
8
8
+
"os"
8
9
"time"
9
10
10
11
"github.com/spf13/viper"
···
148
149
149
150
func main() {
150
151
config.Load()
152
152
+
153
153
+
// create data folder if not exists with proper perms
154
154
+
os.Mkdir("./data", 755)
151
155
152
156
database, err := db.New(viper.GetString("db.path"))
153
157
if err != nil {