I'm excited to announce the initial release of
Go Server Pages
Go Server Pages is an Apache module that lets you embed Go code within a
Web page. The Go code gets executed dynamically server-side. Here's a
quick example:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Test of Go Server Pages</title>
<?go:top import "strings" ?>
</head>
<body>
<p>You should <a href="https://gosp.pakin.org/"><?go:expr
strings.ToUpper("try Go Server Pages today") ?></a>!</p>
</body>
</html>
When a page like that is served over the network, the client sees the Go
code replaced with its output:
…
<p>You should <a href="https://gosp.pakin.org/">TRY GO SERVER PAGES
TODAY</a>!</p>
…
If you're familiar with PHP, it's a lot like that but using Go as the
programming language and with more thought given to security in the
implementation. Here's where to go for documentation and downloads:
Home page: https://gosp.pakin.org/
GitHub repo: https://github.com/spakin/gosp
Enjoy!
— Scott
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/91706b87-ae51-4476-87ca-2863154c226f%40googlegroups.com.