You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+15-44
Original file line number
Diff line number
Diff line change
@@ -6,75 +6,46 @@ web.go is the simplest way to write web applications in the Go programming langu
6
6
7
7
web.go should be familiar to people who've developed websites with higher-level web frameworks like sinatra, pylons, or web.py. It is designed to be a lightweight web framework that doesn't impose any scaffolding on the user. Some features include:
8
8
9
-
* routing to url handlers based on regular expressions
10
-
* helper methods for rendering templates
11
-
* web applications are compiled to native code, which means very fast page render times (order-of-magnitude improvement over python or ruby frameworks)
12
-
13
-
To use web.go, simply install it and import the "web" package. You then need to map url routes to function handlers using web.Get, web.Post, etc.. Finally, you need to call web.Run with the address of the host. (see the example below)
9
+
* Routing to url handlers based on regular expressions
10
+
* User sessions
11
+
* Support for fastcgi and scgi
12
+
* Web applications are compiled to native code. This means very fast execution and page render speed ( benchmarks coming soon :)
14
13
15
14
## Installation
16
15
17
-
1. Make sure you have the latest Go sources (hg sync in the go tree), and your environment is set up correctly: $GOROOT, $GOARCH, $GOBIN, etc.
18
-
2.Checkout the code
16
+
1. Make sure you have the a working Go environment. See the [install instructions](http://golang.org/doc/install.html)
0 commit comments