123456789101112131415161718192021222324252627 |
- package acme
- import "runtime/debug"
- func init() {
-
-
- info, ok := debug.ReadBuildInfo()
- if !ok {
- return
- }
- for _, m := range info.Deps {
- if m.Path != "golang.org/x/crypto" {
- continue
- }
- if m.Replace == nil {
- packageVersion = m.Version
- }
- break
- }
- }
|