Text file src/cmd/go/testdata/script/mod_list_m.txt

     1  go mod tidy
     2  
     3  go list -m -json all
     4  stdout '"GoModSum":\s+"h1:.+"'
     5  stdout '"Sum":\s+"h1:.+"'
     6  
     7  -- go.mod --
     8  module example
     9  
    10  go 1.21
    11  
    12  require rsc.io/quote v1.5.1
    13  -- example.go --
    14  package example
    15  
    16  import _ "rsc.io/quote"

View as plain text