func NewModulePin(
	remote string,
	owner string,
	repository string,
	branch string,
	commit string,
	digest string,
	createTime time.Time,
) (ModulePin, error) {
	return newModulePin(remote, owner, repository, branch, commit, digest, createTime)
}
// NewModulePin returns a new validated ModulePin.
NewModulePin returns a new validated ModulePin.
// NewModulePin returns a new validated ModulePin .
func NewModulePin(
	remote string,
	owner string,
	repository string,
	branch string,
	commit string,
	digest string,
	createTime time.Time,
) (ModulePin, error) {
	return newModulePin(remote, owner, repository, branch, commit, digest, createTime)
}
func NewModulePin ( remote string , owner string , repository string , branch string , commit string , digest string , createTime time . Time , ) ( ModulePin , error ) { return newModulePin ( remote , owner , repository , branch , commit , digest , createTime ) }
NewModulePin returns a new validated ModulePin.
NewModulePin returns a new validated ModulePin .