mattermost / mattermost/mattermost-plugin-confluence
use embed instead of using templates at run time
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 22
- Forks
- 20
- Avg merge
- 22h 2m
- Merged PRs (30d)
- 1
Description
I think is better to bundle the files directly in the binary using embed: https://pkg.go.dev/embed
Originally posted by @fmartingr in https://github.com/mattermost-community/mattermost-plugin-confluence/pull/126#discussion_r1964147099
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Go code that loads templates at runtime and the template files it references. Confirm which assets must be bundled, then verify that the plugin uses Go embed instead of runtime template loading and that its existing checks still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend, build-system
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100