Change module

Signed-off-by: jolheiser <john.olheiser@gmail.com>
master v0.0.1
jolheiser 2022-01-07 14:13:36 -06:00
parent 05b38710c5
commit 3a2804df4c
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
15 changed files with 24 additions and 24 deletions

2
go.mod
View File

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

4
mcm.go
View File

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

View File

@ -3,8 +3,8 @@ package model
import ( import (
"encoding/json" "encoding/json"
"git.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/go-mcm/internal"
"git.canopymc.net/Etzelia/go-mcm/model/django" "git.jojodev.com/Minecraft/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.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/go-mcm/internal"
"git.canopymc.net/Etzelia/go-mcm/model/django" "git.jojodev.com/Minecraft/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.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/go-mcm/internal"
"git.canopymc.net/Etzelia/go-mcm/model/django" "git.jojodev.com/Minecraft/go-mcm/model/django"
) )
type IP struct { type IP struct {

View File

@ -6,7 +6,7 @@ import (
"reflect" "reflect"
"strings" "strings"
"git.canopymc.net/Etzelia/go-mcm/model/django" "git.jojodev.com/Minecraft/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.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/go-mcm/internal"
"git.canopymc.net/Etzelia/go-mcm/model/django" "git.jojodev.com/Minecraft/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.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/go-mcm/internal"
"git.canopymc.net/Etzelia/go-mcm/model/django" "git.jojodev.com/Minecraft/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.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/go-mcm/internal"
"git.canopymc.net/Etzelia/go-mcm/model/django" "git.jojodev.com/Minecraft/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.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/go-mcm/internal"
"git.canopymc.net/Etzelia/go-mcm/model/django" "git.jojodev.com/Minecraft/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.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/go-mcm/internal"
"git.canopymc.net/Etzelia/go-mcm/model/django" "git.jojodev.com/Minecraft/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.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/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.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/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.canopymc.net/Etzelia/go-mcm/internal" "git.jojodev.com/Minecraft/go-mcm/internal"
) )
type Log struct { type Log struct {

View File

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