DEV Community

Takahiro Kudo
Takahiro Kudo

Posted on

2

Perl - mockgen helper perl script

Created the helper script of mockgen because typing mockgen command takes time and effort.

Ref.
golang/mock

Top comments (2)

Collapse
 
szabgab profile image
Gabor Szabo β€’

Nice, but IMHO it would be better to include some of the "best practices" such as "strict" and "warnings" and lexical filehandles so if someone copies this example they will learn the better practices.

Collapse
 
takakd profile image
Takahiro Kudo β€’

Thank you for your feedback. I just fixed it. πŸ‘

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay