Update module

Signed-off-by: Etzelia <etzelia@hotmail.com>
pull/1/head
Etzelia 2021-05-04 22:17:40 -05:00
parent 40808d69ca
commit e1ed806ef6
No known key found for this signature in database
GPG Key ID: 708511AE7ABC5314
15 changed files with 26 additions and 26 deletions

View File

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

4
mcm.go
View File

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

View File

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

View File

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

View File

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