Skip to content

[Feature Request] Use custom code template and filter some lines when submit code #111

Open
@hiberabyss

Description

@hiberabyss

Is it possible to use custom template instead of the default code template?

When wrote go code, I would like to write some unit test to run the code locally, to accomplish this, the line package main need to be added into the source file. It would be convenient if I could generate go code with following template:

package main
<%= code %>

Then when submit code, the line package main should be filtered out.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions