Skip to content

Commit 109c597

Browse files
committed
build: 移除未使用的 go-systemd 依赖
- 从 go.mod 中移除了 go-systemd/v22 依赖 - 删除了 vendor 目录下与 go-systemd 相关的文件 - 此更改不影响项目的功能,因为 go-systemd 未在项目中使用
1 parent 7ba38e2 commit 109c597

File tree

10 files changed

+1
-1853
lines changed

10 files changed

+1
-1853
lines changed

go.mod

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ module hashcowuwu/lychee
22

33
go 1.24.4
44

5-
require (
6-
github.com/coreos/go-systemd/v22 v22.5.0
7-
github.com/spf13/viper v1.20.1
8-
)
5+
require github.com/spf13/viper v1.20.1
96

107
require (
118
github.com/fsnotify/fsnotify v1.8.0 // indirect

go.sum

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=
2-
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
31
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
42
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
53
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -9,7 +7,6 @@ github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/
97
github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
108
github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss=
119
github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
12-
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
1310
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
1411
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
1512
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=

vendor/github.com/coreos/go-systemd/v22/LICENSE

Lines changed: 0 additions & 191 deletions
This file was deleted.

vendor/github.com/coreos/go-systemd/v22/NOTICE

Lines changed: 0 additions & 5 deletions
This file was deleted.

vendor/github.com/coreos/go-systemd/v22/internal/dlopen/dlopen.go

Lines changed: 0 additions & 82 deletions
This file was deleted.

vendor/github.com/coreos/go-systemd/v22/internal/dlopen/dlopen_example.go

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)