From fb5a0257db94dffaa106fbbcdd728207c4a5eae1 Mon Sep 17 00:00:00 2001 From: surdeus Date: Fri, 5 Jan 2024 03:22:55 +0300 Subject: [PATCH] feat: FINALLY WE HAVE OUR OWN SERVICE! --- go.mod | 6 +++--- go.sum | 4 ++-- main.go | 46 +++++++++++++++++++++---------------------- tool/cat/cat.go | 2 +- tool/date/date.go | 2 +- tool/ec/run.go | 2 +- tool/echo/echo.go | 2 +- tool/finfo/main.go | 2 +- tool/ftest/main.go | 2 +- tool/gfalse/false.go | 2 +- tool/grange/main.go | 2 +- tool/gtrue/true.go | 2 +- tool/in/main.go | 2 +- tool/ln/main.go | 2 +- tool/ls/ls.go | 2 +- tool/mergelbl/main.go | 2 +- tool/mkdir/mkdir.go | 2 +- tool/noext/noext.go | 2 +- tool/paths/main.go | 4 ++-- tool/quote/quote.go | 2 +- tool/read/main.go | 2 +- tool/sort/sort.go | 4 ++-- tool/tac/tac.go | 2 +- tool/uniq/uniq.go | 2 +- tool/urlprs/urlprs.go | 2 +- tool/useprog/main.go | 2 +- tool/wc/main.go | 2 +- tool/whoami/main.go | 2 +- tool/yes/yes.go | 4 ++-- 29 files changed, 57 insertions(+), 57 deletions(-) diff --git a/go.mod b/go.mod index 4718d09..ccb43e5 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ -module github.com/vultras/bb +module vultras.su/core/bb -go 1.18 +go 1.21.5 -require github.com/vultras/cli v0.0.0-20240104140711-6890b8ea2e24 +require vultras.su/core/cli v0.0.0-20240104195345-5d79542278a0 diff --git a/go.sum b/go.sum index e54d7cc..050dbca 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/vultras/cli v0.0.0-20240104140711-6890b8ea2e24 h1:dtvNOsgZWz3P87suCr5FKeTevNGLzrVc/uKiKGxW8e0= -github.com/vultras/cli v0.0.0-20240104140711-6890b8ea2e24/go.mod h1:xkex4RuKXi1a1XOYE1SI0mzsgQ1KXbYwLgXHwS5VbNI= +vultras.su/core/cli v0.0.0-20240104195345-5d79542278a0 h1:acA77oEg7hDuUchyBvw7scG9gayVLFAC9/CGuqyfLSA= +vultras.su/core/cli v0.0.0-20240104195345-5d79542278a0/go.mod h1:rYu/sFWE3vUkDSSJCZt+K1aVaso0MYcZ+tmxQd4whdQ= diff --git a/main.go b/main.go index d2ce6e7..75c2a55 100644 --- a/main.go +++ b/main.go @@ -2,30 +2,30 @@ package main import ( "fmt" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" - "github.com/vultras/bb/tool/cat" - "github.com/vultras/bb/tool/date" - "github.com/vultras/bb/tool/ec" - "github.com/vultras/bb/tool/echo" - "github.com/vultras/bb/tool/ftest" - "github.com/vultras/bb/tool/grange" - "github.com/vultras/bb/tool/in" - "github.com/vultras/bb/tool/ln" - "github.com/vultras/bb/tool/ls" - "github.com/vultras/bb/tool/mergelbl" - "github.com/vultras/bb/tool/mkdir" - "github.com/vultras/bb/tool/paths" - "github.com/vultras/bb/tool/quote" - "github.com/vultras/bb/tool/read" - "github.com/vultras/bb/tool/sort" - "github.com/vultras/bb/tool/tac" - "github.com/vultras/bb/tool/uniq" - "github.com/vultras/bb/tool/urlprs" - "github.com/vultras/bb/tool/useprog" - "github.com/vultras/bb/tool/wc" - "github.com/vultras/bb/tool/whoami" - "github.com/vultras/bb/tool/yes" + "vultras.su/core/bb/tool/cat" + "vultras.su/core/bb/tool/date" + "vultras.su/core/bb/tool/ec" + "vultras.su/core/bb/tool/echo" + "vultras.su/core/bb/tool/ftest" + "vultras.su/core/bb/tool/grange" + "vultras.su/core/bb/tool/in" + "vultras.su/core/bb/tool/ln" + "vultras.su/core/bb/tool/ls" + "vultras.su/core/bb/tool/mergelbl" + "vultras.su/core/bb/tool/mkdir" + "vultras.su/core/bb/tool/paths" + "vultras.su/core/bb/tool/quote" + "vultras.su/core/bb/tool/read" + "vultras.su/core/bb/tool/sort" + "vultras.su/core/bb/tool/tac" + "vultras.su/core/bb/tool/uniq" + "vultras.su/core/bb/tool/urlprs" + "vultras.su/core/bb/tool/useprog" + "vultras.su/core/bb/tool/wc" + "vultras.su/core/bb/tool/whoami" + "vultras.su/core/bb/tool/yes" "os" ) diff --git a/tool/cat/cat.go b/tool/cat/cat.go index c2e10d1..3e7d44f 100644 --- a/tool/cat/cat.go +++ b/tool/cat/cat.go @@ -4,7 +4,7 @@ import( "os" "io" "fmt" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) var( diff --git a/tool/date/date.go b/tool/date/date.go index 8520205..bb7a8d9 100644 --- a/tool/date/date.go +++ b/tool/date/date.go @@ -3,7 +3,7 @@ package date import( "fmt" "time" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/ec/run.go b/tool/ec/run.go index 76fcfba..2edfd3e 100644 --- a/tool/ec/run.go +++ b/tool/ec/run.go @@ -6,7 +6,7 @@ import( "os" "bufio" "log" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) const( diff --git a/tool/echo/echo.go b/tool/echo/echo.go index 0734dd6..a1aa130 100644 --- a/tool/echo/echo.go +++ b/tool/echo/echo.go @@ -3,7 +3,7 @@ package echo import ( "fmt" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) var( diff --git a/tool/finfo/main.go b/tool/finfo/main.go index cfc4bdd..e632a02 100644 --- a/tool/finfo/main.go +++ b/tool/finfo/main.go @@ -5,7 +5,7 @@ import ( "io" "bufio" "fmt" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" "path/filepath" ) diff --git a/tool/ftest/main.go b/tool/ftest/main.go index bb4cc6c..c6d86da 100644 --- a/tool/ftest/main.go +++ b/tool/ftest/main.go @@ -5,7 +5,7 @@ import ( "io" "bufio" "fmt" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" "path/filepath" ) diff --git a/tool/gfalse/false.go b/tool/gfalse/false.go index 3045933..76d7804 100644 --- a/tool/gfalse/false.go +++ b/tool/gfalse/false.go @@ -2,7 +2,7 @@ package gfalse import( "os" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) func Run(flags *mtool.Flags) { diff --git a/tool/grange/main.go b/tool/grange/main.go index 44e49e6..a2ab49e 100644 --- a/tool/grange/main.go +++ b/tool/grange/main.go @@ -3,7 +3,7 @@ package grange import( "fmt" "strconv" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) var( diff --git a/tool/gtrue/true.go b/tool/gtrue/true.go index 287caf2..f52ead2 100644 --- a/tool/gtrue/true.go +++ b/tool/gtrue/true.go @@ -1,5 +1,5 @@ package gtrue -import "github.com/vultras/cli/mtool" +import "vultras.su/core/cli/mtool" func Run(flags *mtool.Flags) {} diff --git a/tool/in/main.go b/tool/in/main.go index 2e2aa59..ff5d1a0 100644 --- a/tool/in/main.go +++ b/tool/in/main.go @@ -5,7 +5,7 @@ import ( "io" "bufio" "fmt" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/ln/main.go b/tool/ln/main.go index 6bab5d8..8d0bbe5 100644 --- a/tool/ln/main.go +++ b/tool/ln/main.go @@ -3,7 +3,7 @@ package ln import ( "fmt" "os" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" "path/filepath" ) diff --git a/tool/ls/ls.go b/tool/ls/ls.go index 7a301ef..132d3a9 100644 --- a/tool/ls/ls.go +++ b/tool/ls/ls.go @@ -5,7 +5,7 @@ import( "strings" "regexp" "path" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) var( diff --git a/tool/mergelbl/main.go b/tool/mergelbl/main.go index 3eaa004..0fcd3d1 100644 --- a/tool/mergelbl/main.go +++ b/tool/mergelbl/main.go @@ -5,7 +5,7 @@ import( "fmt" "bufio" "log" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/mkdir/mkdir.go b/tool/mkdir/mkdir.go index 89e7655..eb870df 100644 --- a/tool/mkdir/mkdir.go +++ b/tool/mkdir/mkdir.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/noext/noext.go b/tool/noext/noext.go index 3d581e8..5183605 100644 --- a/tool/noext/noext.go +++ b/tool/noext/noext.go @@ -3,7 +3,7 @@ package noext import( "fmt" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) var( diff --git a/tool/paths/main.go b/tool/paths/main.go index a9c959a..7aa27d8 100644 --- a/tool/paths/main.go +++ b/tool/paths/main.go @@ -9,9 +9,9 @@ import ( "path" "strings" - //"github.com/vultras/tk/pathx" + //"vultras.su/core/tk/pathx" "path/filepath" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) var ( diff --git a/tool/quote/quote.go b/tool/quote/quote.go index db6f8e6..98a966f 100644 --- a/tool/quote/quote.go +++ b/tool/quote/quote.go @@ -7,7 +7,7 @@ import( "fmt" "unicode" "bufio" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) func HasWhiteSpace(s string) bool { diff --git a/tool/read/main.go b/tool/read/main.go index 0f9e657..999c665 100644 --- a/tool/read/main.go +++ b/tool/read/main.go @@ -4,7 +4,7 @@ import( "os" "bufio" "fmt" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) var( diff --git a/tool/sort/sort.go b/tool/sort/sort.go index 943d6ab..1b7c8a7 100644 --- a/tool/sort/sort.go +++ b/tool/sort/sort.go @@ -4,8 +4,8 @@ import ( "fmt" "os" "sort" - "github.com/vultras/bb/input" - "github.com/vultras/cli/mtool" + "vultras.su/core/bb/input" + "vultras.su/core/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/tac/tac.go b/tool/tac/tac.go index 15df774..4ddc112 100644 --- a/tool/tac/tac.go +++ b/tool/tac/tac.go @@ -5,7 +5,7 @@ import( "io" "fmt" "bufio" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) func reverse(a []string) chan string { diff --git a/tool/uniq/uniq.go b/tool/uniq/uniq.go index 43d6934..64e05fd 100644 --- a/tool/uniq/uniq.go +++ b/tool/uniq/uniq.go @@ -6,7 +6,7 @@ import( "fmt" "bufio" "io" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/urlprs/urlprs.go b/tool/urlprs/urlprs.go index e6fffb6..32083e3 100644 --- a/tool/urlprs/urlprs.go +++ b/tool/urlprs/urlprs.go @@ -5,7 +5,7 @@ import ( "fmt" "net" "net/url" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) var nilStr = "_" diff --git a/tool/useprog/main.go b/tool/useprog/main.go index def89a3..7717fc8 100644 --- a/tool/useprog/main.go +++ b/tool/useprog/main.go @@ -4,7 +4,7 @@ import ( "os" "os/exec" "fmt" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" "path/filepath" ) diff --git a/tool/wc/main.go b/tool/wc/main.go index 13c25fa..a1bc326 100644 --- a/tool/wc/main.go +++ b/tool/wc/main.go @@ -7,7 +7,7 @@ import ( "fmt" "unicode" "strconv" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) var ( diff --git a/tool/whoami/main.go b/tool/whoami/main.go index 0eaba39..478eb91 100644 --- a/tool/whoami/main.go +++ b/tool/whoami/main.go @@ -5,7 +5,7 @@ import( "os/user" "fmt" "log" - "github.com/vultras/cli/mtool" + "vultras.su/core/cli/mtool" ) func Run(flagSet *mtool.Flags) { diff --git a/tool/yes/yes.go b/tool/yes/yes.go index 87c601d..d4d38d4 100644 --- a/tool/yes/yes.go +++ b/tool/yes/yes.go @@ -5,8 +5,8 @@ import ( "os" "fmt" "strings" - "github.com/vultras/bb/input" - "github.com/vultras/cli/mtool" + "vultras.su/core/bb/input" + "vultras.su/core/cli/mtool" ) var (