Moved to Gitlab.
This commit is contained in:
parent
0e497d9b71
commit
23510e22a0
@ -26,7 +26,7 @@ import (
|
||||
"strings"
|
||||
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/config/struct"
|
||||
"gitlab.com/pztrn/opensaps/config/struct"
|
||||
|
||||
// other
|
||||
"gopkg.in/yaml.v2"
|
||||
|
@ -19,9 +19,9 @@ package config
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/config/interface"
|
||||
"source.pztrn.name/misc/opensaps/config/struct"
|
||||
"source.pztrn.name/misc/opensaps/context"
|
||||
"gitlab.com/pztrn/opensaps/config/interface"
|
||||
"gitlab.com/pztrn/opensaps/config/struct"
|
||||
"gitlab.com/pztrn/opensaps/context"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -19,7 +19,7 @@ package configurationinterface
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/config/struct"
|
||||
"gitlab.com/pztrn/opensaps/config/struct"
|
||||
)
|
||||
|
||||
type ConfigurationInterface interface {
|
||||
|
@ -23,11 +23,11 @@ import (
|
||||
"strings"
|
||||
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/config/interface"
|
||||
"source.pztrn.name/misc/opensaps/parsers/interface"
|
||||
"source.pztrn.name/misc/opensaps/pushers/interface"
|
||||
"source.pztrn.name/misc/opensaps/slack/apiserverinterface"
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/config/interface"
|
||||
"gitlab.com/pztrn/opensaps/parsers/interface"
|
||||
"gitlab.com/pztrn/opensaps/pushers/interface"
|
||||
"gitlab.com/pztrn/opensaps/slack/apiserverinterface"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
|
||||
// other
|
||||
"source.pztrn.name/golibs/flagger"
|
||||
|
16
opensaps.go
16
opensaps.go
@ -24,14 +24,14 @@ import (
|
||||
"syscall"
|
||||
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/config"
|
||||
"source.pztrn.name/misc/opensaps/context"
|
||||
"source.pztrn.name/misc/opensaps/parsers/default"
|
||||
"source.pztrn.name/misc/opensaps/parsers/gitea"
|
||||
"source.pztrn.name/misc/opensaps/parsers/gitlab"
|
||||
"source.pztrn.name/misc/opensaps/pushers/matrix"
|
||||
"source.pztrn.name/misc/opensaps/pushers/telegram"
|
||||
"source.pztrn.name/misc/opensaps/slack"
|
||||
"gitlab.com/pztrn/opensaps/config"
|
||||
"gitlab.com/pztrn/opensaps/context"
|
||||
"gitlab.com/pztrn/opensaps/parsers/default"
|
||||
"gitlab.com/pztrn/opensaps/parsers/gitea"
|
||||
"gitlab.com/pztrn/opensaps/parsers/gitlab"
|
||||
"gitlab.com/pztrn/opensaps/pushers/matrix"
|
||||
"gitlab.com/pztrn/opensaps/pushers/telegram"
|
||||
"gitlab.com/pztrn/opensaps/slack"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -19,7 +19,7 @@ package defaultparser
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
)
|
||||
|
||||
type DefaultParser struct{}
|
||||
|
@ -19,8 +19,8 @@ package defaultparser
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/context"
|
||||
"source.pztrn.name/misc/opensaps/parsers/interface"
|
||||
"gitlab.com/pztrn/misc/opensaps/context"
|
||||
"gitlab.com/pztrn/misc/opensaps/parsers/interface"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -19,8 +19,8 @@ package giteaparser
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/context"
|
||||
"source.pztrn.name/misc/opensaps/parsers/interface"
|
||||
"gitlab.com/pztrn/opensaps/context"
|
||||
"gitlab.com/pztrn/opensaps/parsers/interface"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -25,7 +25,7 @@ import (
|
||||
"strings"
|
||||
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
)
|
||||
|
||||
type GiteaParser struct{}
|
||||
|
@ -19,8 +19,8 @@ package gitlabparser
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/context"
|
||||
"source.pztrn.name/misc/opensaps/parsers/interface"
|
||||
"gitlab.com/pztrn/opensaps/context"
|
||||
"gitlab.com/pztrn/opensaps/parsers/interface"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -25,7 +25,7 @@ import (
|
||||
"strings"
|
||||
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
)
|
||||
|
||||
type GitlabParser struct{}
|
||||
|
@ -19,7 +19,7 @@ package parserinterface
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
)
|
||||
|
||||
type ParserInterface interface {
|
||||
|
@ -19,7 +19,7 @@ package pusherinterface
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
)
|
||||
|
||||
type PusherInterface interface {
|
||||
|
@ -19,8 +19,8 @@ package matrixpusher
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/context"
|
||||
"source.pztrn.name/misc/opensaps/pushers/interface"
|
||||
"gitlab.com/pztrn/opensaps/context"
|
||||
"gitlab.com/pztrn/opensaps/pushers/interface"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -30,7 +30,7 @@ import (
|
||||
"strings"
|
||||
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
)
|
||||
|
||||
// Constants for random transaction ID.
|
||||
|
@ -19,7 +19,7 @@ package matrixpusher
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
)
|
||||
|
||||
type MatrixPusher struct{}
|
||||
|
@ -19,8 +19,8 @@ package telegrampusher
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/context"
|
||||
"source.pztrn.name/misc/opensaps/pushers/interface"
|
||||
"gitlab.com/pztrn/opensaps/context"
|
||||
"gitlab.com/pztrn/opensaps/pushers/interface"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -26,7 +26,7 @@ import (
|
||||
"strings"
|
||||
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
)
|
||||
|
||||
type TelegramConnection struct {
|
||||
|
@ -19,7 +19,7 @@ package telegrampusher
|
||||
|
||||
import (
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
)
|
||||
|
||||
type TelegramPusher struct{}
|
||||
|
@ -22,8 +22,8 @@ import (
|
||||
"net/http"
|
||||
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/context"
|
||||
"source.pztrn.name/misc/opensaps/slack/apiserverinterface"
|
||||
"gitlab.com/pztrn/opensaps/context"
|
||||
"gitlab.com/pztrn/opensaps/slack/apiserverinterface"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -27,7 +27,7 @@ import (
|
||||
"strings"
|
||||
|
||||
// local
|
||||
"source.pztrn.name/misc/opensaps/slack/message"
|
||||
"gitlab.com/pztrn/opensaps/slack/message"
|
||||
)
|
||||
|
||||
type SlackHandler struct{}
|
||||
|
Loading…
Reference in New Issue
Block a user