We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After having followed the instructions at https://wtfutil.com/configuration/generate-module/ and started working on my module, I first had to figure out that I had to add my widget to the long list at https://github.com/wtfutil/wtf/blob/master/app/widget_maker.go After which I came to the conclusion that a newly generated module wouldn't compile. The wtf.TextWidget had to be changed to view.TextWidget for example. Perhaps this template should be updated, maybe the generate part could output that you should add your widget to https://github.com/wtfutil/wtf/blob/master/app/widget_maker.go Perhaps it could even be added to integration tests so this breaking in the future will sooner be realized.
wtf.TextWidget
view.TextWidget
The text was updated successfully, but these errors were encountered:
Agreed, it's really impractical at the moment.
Sorry, something went wrong.
I can take care of this :)
Fixed. Thanks for reporting this.
Successfully merging a pull request may close this issue.
What's broken?
After having followed the instructions at https://wtfutil.com/configuration/generate-module/ and started working on my module, I first had to figure out that I had to add my widget to the long list at https://github.com/wtfutil/wtf/blob/master/app/widget_maker.go
After which I came to the conclusion that a newly generated module wouldn't compile. The
wtf.TextWidget
had to be changed toview.TextWidget
for example.Perhaps this template should be updated, maybe the generate part could output that you should add your widget to https://github.com/wtfutil/wtf/blob/master/app/widget_maker.go
Perhaps it could even be added to integration tests so this breaking in the future will sooner be realized.
The text was updated successfully, but these errors were encountered: