mattermost / mattermost/mattermost-plugin-confluence

use embed instead of using templates at run time

Open
#132 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.