Skip to content

can't generate mocks after updating to v3.4.6 #147

@spanwalla

Description

@spanwalla

//go:generate minimock -i gitlab.hidden.com/platform/realtime-config-go.Client -o realtime_config_client.go -n ClientMock -p mocks
fails with
minimock: failed to generate mock: template: header:14:147: executing "header" at <"MockName">: wrong type for value; expected language.Tag; got string

I think that the reason is this change

old (strings):
func Title(s string) string

new (cases):
func Title(t language.Tag, opts ...Option) Caser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions