example.com/depends/on/generics v1.0.0
written by hand

-- .mod --
module example.com/depends/on/generics

go 1.18

require example.com/generics v1.0.0
-- .info --
{"Version":"v1.0.0"}
-- go.mod --
module example.com/depends/on/generics

go 1.18

require example.com/generics v1.0.0
-- main.go --
package main

import "example.com/generics"

func main() {generics.Bar()}