benbjohnson / benbjohnson/ego

take a look at my enhancements

Open
#20 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
586
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Hi @benbjohnson,

could you please take a look at my fork (https://github.com/SlinSo/egon), that is unfortunately based on another fork (https://github.com/commondream/egon). I would like to know, if it is worth to rebase everything to your original version of ego.

I've made this fork after playing around with some bechmarks I made (https://github.com/SlinSo/goTemplateBenchmark)

I've added a few features and optimisations:
- Added flags to the egon command (based on kingpin package)
- Added type safe generation like in ftmpl
- Added Debug mode, otherwise dont print comments inside generated functions
- Added string optimisation, removed Sprintf for strings
- Added examples for framework integration
- Added minify, currently only tested with HTML code
- Added optional view generation (only needed for egon fork)
- Reverted fmt.Fprintf -> io.WriteString to avoid unnecessary allocations (only needed for egon fork)

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository file, test, or entry point is named. Review the linked SlinSo/egon fork and goTemplateBenchmark, compare the listed flags, generation, debugging, optimization, minification, and integration changes with this repository, then clarify which enhancement should be ported and what completion means.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.