Created
June 7, 2020 01:32
-
-
Save TomOnTime/2cfa67e302082c333bee7e552b46907d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The error I get is: | |
cannot use New (type func() (*gitHandle, error)) as type vcs.RegistrarInitializer in argument to vcs.Register | |
The signature of New is: | |
type gitHandle struct { | |
} | |
func New() (*gitHandle, error) { | |
The definition of vcs.RegistrarInitializer is: | |
type RegistrarInitializer func() (*Vcs, error) | |
And Vcs is: | |
type Vcs interface { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment