Update module

Signed-off-by: Etzelia <etzelia@hotmail.com>
pull/1/head
Etzelia 1 year ago
parent e1ed806ef6
commit d2b27d7edf
No known key found for this signature in database
GPG Key ID: 708511AE7ABC5314
  1. 6
      README.md
  2. 2
      go.mod
  3. 4
      mcm.go
  4. 4
      model/alert.go
  5. 4
      model/application.go
  6. 4
      model/ip.go
  7. 2
      model/model.go
  8. 4
      model/note.go
  9. 4
      model/player.go
  10. 4
      model/ticket.go
  11. 4
      model/ticketnote.go
  12. 4
      model/usersettings.go
  13. 2
      web/alert.go
  14. 2
      web/discord.go
  15. 2
      web/log.go
  16. 2
      web/online.go

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

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

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

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

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

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

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

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

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

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

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

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

@ -3,7 +3,7 @@ package web
import (
"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) {

@ -3,7 +3,7 @@ package web
import (
"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) {

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

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

Loading…
Cancel
Save