fix: we do not need xgo here after all.

This commit is contained in:
Andrey Parhomenko 2024-06-06 22:50:22 +05:00
parent 11fde8986c
commit 5acf5ebb55
3 changed files with 1 additions and 16 deletions

7
go.mod
View file

@ -2,9 +2,4 @@ module surdeus.su/util/bb
go 1.22.3 go 1.22.3
require ( require surdeus.su/core/cli v0.1.2
surdeus.su/core/cli v0.1.2
surdeus.su/core/xgo v0.2.0
)
require github.com/d5/tengo/v2 v2.17.0 // indirect

8
go.sum
View file

@ -1,10 +1,2 @@
github.com/d5/tengo/v2 v2.17.0 h1:BWUN9NoJzw48jZKiYDXDIF3QrIVZRm1uV1gTzeZ2lqM=
github.com/d5/tengo/v2 v2.17.0/go.mod h1:XRGjEs5I9jYIKTxly6HCF8oiiilk5E/RYXOZ5b0DZC8=
surdeus.su/core/cli v0.1.2 h1:qPzjawqPyZsO4Z5SaA1u141recVE65yioA83Qs7Jecs= surdeus.su/core/cli v0.1.2 h1:qPzjawqPyZsO4Z5SaA1u141recVE65yioA83Qs7Jecs=
surdeus.su/core/cli v0.1.2/go.mod h1:r9JtQz3aEJzpYzMaNUNQHJoYkoWKNPi047qhd5uGlmA= surdeus.su/core/cli v0.1.2/go.mod h1:r9JtQz3aEJzpYzMaNUNQHJoYkoWKNPi047qhd5uGlmA=
surdeus.su/core/xgo v0.0.2 h1:ZwYugS9dBoT1CdfkUjaOFXTgal0CZgopsrP8ozTGfAc=
surdeus.su/core/xgo v0.0.2/go.mod h1:6C/AHbjfvAMvt3TOzLB4eIZ40eU3ahJXtdY+kr4yXoc=
surdeus.su/core/xgo v0.1.0 h1:kpH4my7rK+C6Kx9bG7BB95F3T+kx8+MQEvm/APRiyNY=
surdeus.su/core/xgo v0.1.0/go.mod h1:6C/AHbjfvAMvt3TOzLB4eIZ40eU3ahJXtdY+kr4yXoc=
surdeus.su/core/xgo v0.2.0 h1:cQAnPgogyBKdDz767SNqA9Q7T+6+A6UGIyl9S3V7PX8=
surdeus.su/core/xgo v0.2.0/go.mod h1:6C/AHbjfvAMvt3TOzLB4eIZ40eU3ahJXtdY+kr4yXoc=

View file

@ -26,7 +26,6 @@ import (
"surdeus.su/util/bb/tool/wc" "surdeus.su/util/bb/tool/wc"
"surdeus.su/util/bb/tool/whoami" "surdeus.su/util/bb/tool/whoami"
"surdeus.su/util/bb/tool/yes" "surdeus.su/util/bb/tool/yes"
xgotool "surdeus.su/core/xgo/xtool"
"os" "os"
) )
@ -120,7 +119,6 @@ var root = mtool.T("bb").Subs(
}).Desc( }).Desc(
"print all the environment variables", "print all the environment variables",
), ),
xgotool.Tool,
).Desc( ).Desc(
"not POSIX compatible BusyBox utilities", "not POSIX compatible BusyBox utilities",
) )