Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexedwards
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
alexedwards
2mo ago
That's not the reason I use Clone() in this pattern. The main reason for the clone operation is convenience. The clone operation is on the already-parsed set of shared templates (base+partials in this example code). It provides the con
2.
▲
by
alexedwards
2mo ago
As the author of this post, I can answer this question with a very clear "no". There is an interesting side point though. I've been blogging about Go since 2013 (generally writing similar articles to this one) and from 2013 t
3.
▲
by
alexedwards
11y ago
Yep, thanks. I've updated the examples to use `http.Error(w, http.StatusText(500), 500)` instead.
4.
▲
Simple flash messages in Go
(alexedwards.net)
2 points
by
alexedwards
13y ago
|
0 comments
5.
▲
Form Validation and Processing in Go
(alexedwards.net)
6 points
by
alexedwards
13y ago
|
1 comments
6.
▲
by
alexedwards
13y ago
Genuine question - can a process kill itself? The kill of go-reload was to make sure background processes get cleaned up, but I suspect one of the kill or exit in the close function is superfluous.
7.
▲
Golang Automatic Reloads
(alexedwards.net)
30 points
by
alexedwards
13y ago
|
10 comments
8.
▲
A Recap of Request Handling in Go
(alexedwards.net)
2 points
by
alexedwards
13y ago
|
0 comments
9.
▲
Gorilla, Pat and Routes: A Mux Showdown
(alexedwards.net)
2 points
by
alexedwards
13y ago
|
0 comments
10.
▲
Serving Static Sites with Go
(alexedwards.net)
3 points
by
alexedwards
13y ago
|
0 comments