parent
66bbac8a8a
commit
b7a4b1fee8
@ -9,9 +9,9 @@ import (
|
|||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
"gitea.hashru.nl/dsprenkels/rushlink/internal/db"
|
"gitea.hashru.nl/dsprenkels/rushlink/db"
|
||||||
"gitea.hashru.nl/dsprenkels/rushlink/internal/handlers"
|
"gitea.hashru.nl/dsprenkels/rushlink/handlers"
|
||||||
"gitea.hashru.nl/dsprenkels/rushlink/internal/metrics"
|
"gitea.hashru.nl/dsprenkels/rushlink/metrics"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ParsedArguments struct {
|
type ParsedArguments struct {
|
||||||
|
@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
bolt "go.etcd.io/bbolt"
|
bolt "go.etcd.io/bbolt"
|
||||||
|
|
||||||
"gitea.hashru.nl/dsprenkels/rushlink/pkg/gobmarsh"
|
"gitea.hashru.nl/dsprenkels/rushlink/gobmarsh"
|
||||||
)
|
)
|
||||||
|
|
||||||
var DB *bolt.DB
|
var DB *bolt.DB
|
@ -2,7 +2,7 @@ package handlers
|
|||||||
|
|
||||||
//go:generate go get github.com/go-bindata/go-bindata
|
//go:generate go get github.com/go-bindata/go-bindata
|
||||||
//go:generate go get -u github.com/go-bindata/go-bindata/...
|
//go:generate go get -u github.com/go-bindata/go-bindata/...
|
||||||
//go:generate go-bindata -pkg $GOPACKAGE -prefix ../../assets ../../assets/...
|
//go:generate go-bindata -pkg $GOPACKAGE -prefix ../assets ../assets/...
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@ -23,8 +23,8 @@ import (
|
|||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
bolt "go.etcd.io/bbolt"
|
bolt "go.etcd.io/bbolt"
|
||||||
|
|
||||||
"gitea.hashru.nl/dsprenkels/rushlink/internal/db"
|
"gitea.hashru.nl/dsprenkels/rushlink/db"
|
||||||
"gitea.hashru.nl/dsprenkels/rushlink/pkg/gobmarsh"
|
"gitea.hashru.nl/dsprenkels/rushlink/gobmarsh"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PasteType int
|
type PasteType int
|
@ -12,7 +12,7 @@ import (
|
|||||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||||
bolt "go.etcd.io/bbolt"
|
bolt "go.etcd.io/bbolt"
|
||||||
|
|
||||||
"gitea.hashru.nl/dsprenkels/rushlink/internal/db"
|
"gitea.hashru.nl/dsprenkels/rushlink/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
Loading…
Reference in New Issue
Block a user