From 88efaefd37a6d744629c177518e5ba3f4e420830 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Wed, 20 Mar 2024 22:16:17 +0300 Subject: [PATCH] Fix depsy dependency --- ek.go | 2 ++ go.mod | 1 + go.sum | 2 ++ 3 files changed, 5 insertions(+) diff --git a/ek.go b/ek.go index 1ed547dd..dc3952b3 100644 --- a/ek.go +++ b/ek.go @@ -14,6 +14,7 @@ package ek import ( "golang.org/x/crypto/bcrypt" + "github.com/essentialkaos/depsy" "github.com/essentialkaos/go-linenoise/v3" ) @@ -27,5 +28,6 @@ const VERSION = "12.108.0" // worthless is used as dependency fix func worthless() { linenoise.Clear() + depsy.Extract(nil, false) bcrypt.Cost(nil) } diff --git a/go.mod b/go.mod index 64299642..a1f10518 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.18 require ( github.com/essentialkaos/check v1.4.0 + github.com/essentialkaos/depsy v1.1.0 github.com/essentialkaos/go-linenoise/v3 v3.4.0 golang.org/x/crypto v0.21.0 golang.org/x/sys v0.18.0 diff --git a/go.sum b/go.sum index 6680cd0d..5a4908f8 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/essentialkaos/check v1.4.0 h1:kWdFxu9odCxUqo1NNFNJmguGrDHgwi3A8daXX1nkuKk= github.com/essentialkaos/check v1.4.0/go.mod h1:LMKPZ2H+9PXe7Y2gEoKyVAwUqXVgx7KtgibfsHJPus0= +github.com/essentialkaos/depsy v1.1.0 h1:U6dp687UkQwXlZU17Hg2KMxbp3nfZAoZ8duaeUFYvJI= +github.com/essentialkaos/depsy v1.1.0/go.mod h1:kpiTAV17dyByVnrbNaMcZt2jRwvuXClUYOzpyJQwtG8= github.com/essentialkaos/go-linenoise/v3 v3.4.0 h1:g72w8x+/HIwOMBVvNaPYp+wMWVHrYZwzFAF7OfZR5Ts= github.com/essentialkaos/go-linenoise/v3 v3.4.0/go.mod h1:t1kNLY2bSMQCy1JXOefD2BDLs/TTPMtTv3DFNV5uDSI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=