Update module

Signed-off-by: Etzelia <etzelia@hotmail.com>
pull/1/head
Etzelia 2021-07-13 18:28:16 -05:00
parent e1ed806ef6
commit d2b27d7edf
No known key found for this signature in database
GPG Key ID: 708511AE7ABC5314
16 changed files with 27 additions and 27 deletions

View File

@ -8,9 +8,9 @@ package main
import ( import (
"fmt" "fmt"
"git.birbmc.com/Etzelia/go-mcm" "git.canopymc.net/Etzelia/go-mcm"
"git.birbmc.com/Etzelia/go-mcm/model" "git.canopymc.net/Etzelia/go-mcm/model"
"git.birbmc.com/Etzelia/go-mcm/model/django" "git.canopymc.net/Etzelia/go-mcm/model/django"
) )
func main() { func main() {

2
go.mod
View File

@ -1,3 +1,3 @@
module git.birbmc.com/Etzelia/go-mcm module git.canopymc.net/Etzelia/go-mcm
go 1.13 go 1.13

4
mcm.go
View File

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"strings" "strings"
"git.birbmc.com/Etzelia/go-mcm/model" "git.canopymc.net/Etzelia/go-mcm/model"
"git.birbmc.com/Etzelia/go-mcm/web" "git.canopymc.net/Etzelia/go-mcm/web"
) )
type MCM struct { type MCM struct {

View File

@ -3,8 +3,8 @@ package model
import ( import (
"encoding/json" "encoding/json"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
"git.birbmc.com/Etzelia/go-mcm/model/django" "git.canopymc.net/Etzelia/go-mcm/model/django"
) )
type Alert struct { type Alert struct {

View File

@ -3,8 +3,8 @@ package model
import ( import (
"encoding/json" "encoding/json"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
"git.birbmc.com/Etzelia/go-mcm/model/django" "git.canopymc.net/Etzelia/go-mcm/model/django"
) )
type Application struct { type Application struct {

View File

@ -3,8 +3,8 @@ package model
import ( import (
"encoding/json" "encoding/json"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
"git.birbmc.com/Etzelia/go-mcm/model/django" "git.canopymc.net/Etzelia/go-mcm/model/django"
) )
type IP struct { type IP struct {

View File

@ -6,7 +6,7 @@ import (
"reflect" "reflect"
"strings" "strings"
"git.birbmc.com/Etzelia/go-mcm/model/django" "git.canopymc.net/Etzelia/go-mcm/model/django"
) )
type Model struct { type Model struct {

View File

@ -3,8 +3,8 @@ package model
import ( import (
"encoding/json" "encoding/json"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
"git.birbmc.com/Etzelia/go-mcm/model/django" "git.canopymc.net/Etzelia/go-mcm/model/django"
) )
type Importance string type Importance string

View File

@ -3,8 +3,8 @@ package model
import ( import (
"encoding/json" "encoding/json"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
"git.birbmc.com/Etzelia/go-mcm/model/django" "git.canopymc.net/Etzelia/go-mcm/model/django"
) )
type Player struct { type Player struct {

View File

@ -3,8 +3,8 @@ package model
import ( import (
"encoding/json" "encoding/json"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
"git.birbmc.com/Etzelia/go-mcm/model/django" "git.canopymc.net/Etzelia/go-mcm/model/django"
) )
type Priority string type Priority string

View File

@ -3,8 +3,8 @@ package model
import ( import (
"encoding/json" "encoding/json"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
"git.birbmc.com/Etzelia/go-mcm/model/django" "git.canopymc.net/Etzelia/go-mcm/model/django"
) )
type TicketNote struct { type TicketNote struct {

View File

@ -3,8 +3,8 @@ package model
import ( import (
"encoding/json" "encoding/json"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
"git.birbmc.com/Etzelia/go-mcm/model/django" "git.canopymc.net/Etzelia/go-mcm/model/django"
) )
type Results int64 type Results int64

View File

@ -3,7 +3,7 @@ package web
import ( import (
"net/url" "net/url"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
) )
func (web *Web) Alert(message string, ping bool) (*internal.Status, error) { func (web *Web) Alert(message string, ping bool) (*internal.Status, error) {

View File

@ -3,7 +3,7 @@ package web
import ( import (
"net/url" "net/url"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
) )
func (web *Web) Discord(message string, ping bool) (*internal.Status, error) { func (web *Web) Discord(message string, ping bool) (*internal.Status, error) {

View File

@ -4,7 +4,7 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
) )
type Log struct { type Log struct {

View File

@ -4,7 +4,7 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"git.birbmc.com/Etzelia/go-mcm/internal" "git.canopymc.net/Etzelia/go-mcm/internal"
) )
type Online struct { type Online struct {