Create new type and remove un-used code
Create Release & Upload Assets / Upload Assets To Gitea w/ goreleaser (push) Failing after 9s
Create Release & Upload Assets / Upload Assets To Gitea w/ goreleaser (push) Failing after 9s
This commit is contained in:
1 parent
03a47deade
commit
4a1dc609c7
4 files changed
+7
-7
No files matched your search
+2
-2
@@ -9,8 +9,8 @@ import (
|
|||||||
"github.com/liamg/tml"
|
"github.com/liamg/tml"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"git.anomalous.dev/57_Wolve/uberbringer/config"
|
"uberbringer/config"
|
||||||
"git.anomalous.dev/57_Wolve/uberbringer/service"
|
"uberbringer/service"
|
||||||
)
|
)
|
||||||
|
|
||||||
var rootCommand = &cobra.Command{
|
var rootCommand = &cobra.Command{
|
||||||
|
|||||||
+1
-1
@@ -2,11 +2,11 @@ package service
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"git.anomalous.dev/57_Wolve/uberbringer/config"
|
|
||||||
fifo "github.com/foize/go.fifo"
|
fifo "github.com/foize/go.fifo"
|
||||||
"github.com/justinmichaelvieira/escpos"
|
"github.com/justinmichaelvieira/escpos"
|
||||||
"github.com/liamg/tml"
|
"github.com/liamg/tml"
|
||||||
"net"
|
"net"
|
||||||
|
"uberbringer/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
func newPrintJob(input DataStruct, queue *fifo.Queue) {
|
func newPrintJob(input DataStruct, queue *fifo.Queue) {
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.anomalous.dev/57_Wolve/uberbringer/config"
|
"uberbringer/config"
|
||||||
"git.anomalous.dev/57_Wolve/uberbringer/snowflake"
|
"uberbringer/snowflake"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Queue struct {
|
type Queue struct {
|
||||||
|
|||||||
+2
-2
@@ -5,10 +5,10 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.anomalous.dev/57_Wolve/uberbringer/cmd"
|
|
||||||
"git.anomalous.dev/57_Wolve/uberbringer/config"
|
|
||||||
"github.com/getsentry/sentry-go"
|
"github.com/getsentry/sentry-go"
|
||||||
"github.com/liamg/tml"
|
"github.com/liamg/tml"
|
||||||
|
"uberbringer/cmd"
|
||||||
|
"uberbringer/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
Reference in new issue
Block a user