Skip to content

Commit 5e8548b

Browse files
committed
Updated binary size from 14MB to 15MB
1 parent 3a8571c commit 5e8548b

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<p align="center">
66
<a href="https://github.com/dunamismax/go-web-server">
7-
<img src="https://readme-typing-svg.demolab.com/?font=Fira+Code&size=24&pause=1000&color=00ADD8&center=true&vCenter=true&width=900&lines=The+Modern+Go+Stack;Echo+v4+Framework+with+Type-Safe+Templates;HTMX+Dynamic+UX+without+JavaScript;SQLC+Generated+Queries+with+PostgreSQL;CSRF+Protection+and+Input+Sanitization;Structured+Error+Handling+and+Request+Tracing;Hot+Reload+Development+with+Mage+Automation;Single+Binary+Deployment+at+14MB;Production-Ready+Security+Middleware;Docker+First+Deployment" alt="Typing SVG" />
7+
<img src="https://readme-typing-svg.demolab.com/?font=Fira+Code&size=24&pause=1000&color=00ADD8&center=true&vCenter=true&width=900&lines=The+Modern+Go+Stack;Echo+v4+Framework+with+Type-Safe+Templates;HTMX+Dynamic+UX+without+JavaScript;SQLC+Generated+Queries+with+PostgreSQL;CSRF+Protection+and+Input+Sanitization;Structured+Error+Handling+and+Request+Tracing;Hot+Reload+Development+with+Mage+Automation;Single+Binary+Deployment+at+15MB;Production-Ready+Security+Middleware;Docker+First+Deployment" alt="Typing SVG" />
88
</a>
99
</p>
1010

@@ -261,7 +261,7 @@ go-web-server/
261261
docker compose up --build
262262

263263
# Or build optimized binary for custom deployment
264-
mage build # Creates optimized binary in bin/server (~14MB)
264+
mage build # Creates optimized binary in bin/server (~15MB)
265265
```
266266

267267
The binary includes embedded Pico.css, HTMX, and Templ templates. **Docker-first architecture** with PostgreSQL, Caddy reverse proxy, and automatic HTTPS. Single binary deployment option available for custom environments.
@@ -292,7 +292,7 @@ The binary includes embedded Pico.css, HTMX, and Templ templates. **Docker-first
292292
- Structured error handling with request tracing and monitoring
293293
- Multi-source configuration with Viper (JSON, YAML, ENV)
294294
- Database migrations with Goose and graceful shutdown
295-
- Single binary deployment (~14MB) with embedded assets
295+
- Single binary deployment (~15MB) with embedded assets
296296
- Minimal external dependencies with enterprise PostgreSQL backend
297297

298298
---

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Complete documentation for the Modern Go Stack web server.
1818
- Backend: Echo v4 + SQLC + PostgreSQL (pgx/v5 driver)
1919
- Frontend: Templ v0.3.924 + HTMX 2.0.6 + Pico.css v2
2020
- Build: Mage + Air hot reload + Go 1.24+
21-
- Deploy: Single binary (~14MB), Docker-first with PostgreSQL
21+
- Deploy: Single binary (~15MB), Docker-first with PostgreSQL
2222

2323
**Key Benefits:**
2424

docs/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Transport: HTTPS + HSTS + Secure Cookies
113113
### Single Binary Deployment
114114

115115
```
116-
bin/server # ~14MB executable
116+
bin/server # ~15MB executable
117117
├── Embedded assets # CSS, JS, templates
118118
└── Minimal dependencies # Requires PostgreSQL server
119119
```

docs/deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export DATABASE_URL=postgres://${DATABASE_USER}:${DATABASE_PASSWORD}@localhost:5
1515
/opt/app/server
1616
```
1717

18-
Binary is ~14MB with minimal external dependencies (requires PostgreSQL server).
18+
Binary is ~15MB with minimal external dependencies (requires PostgreSQL server).
1919

2020
## Ubuntu Server Setup
2121

internal/view/home.templ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ templ HomeContent() {
178178
<div>
179179
<h5>Production Features</h5>
180180
<ul>
181-
<li>Single binary deployment <strong>(~14MB)</strong></li>
181+
<li>Single binary deployment <strong>(~15MB)</strong></li>
182182
<li>Embedded static assets</li>
183183
<li>Graceful shutdown handling</li>
184184
<li>Enterprise security & monitoring</li>

0 commit comments

Comments
 (0)