This module requires example.com/missingpkg at a prerelease version, which is newer than @latest. -- .mod -- module example.com/usemissingpre require example.com/missingpkg v1.0.1-beta -- .info -- {"Version":"v1.0.0"} -- use.go -- package use import _ "example.com/missingpkg"