Web framework for creating apps using Go in Google AppEngine

Welcome to app.go v3.0

app.go is a simple web framework for use in Google AppEngine. Just copy the app folder to your working folder and import it from your main program. That's it. A web application ready to run in no time. Also, app.go comes with a powerful datastore manager to simplify your interactions with BigTable, making your code cleaner and safer.

Here is the Guestbook example from AppEngine rewritten using app.go

package hello

import(
    "app"
    "models"
)

func init() {
    app.Start()
    app.Get ("/index", index)
    app.Post("/sign" , sign )
}

func index(ctx app.Context) {
    recs := models.GetGreetings(ctx,10)
    ctx.Render("index",recs)
}

func sign(ctx app.Context) {
    rec := models.Greeting{
        Author : ctx.User.Nick,
        Content: ctx.GetValue("content"),
    }
    models.NewGreeting(ctx,rec)
    ctx.Redirect("/")
}

As you can see, with app.go we make it really easy to write web apps in go. We welcome your feedback for any special request or bug fix.

Enjoy!

CHANGELOG v3

  • separation of app and db packages
  • encourage the use of models package for data manipulation
  • added filters to template parsing (soon to be replaced by new template package)

CHANGELOG v2

  • implemented regexp router
  • create new instance of DB for every request
  • use nanoseconds in db.sequence
  • on init: if no templates error/notfound generate default templates.
  • cache templates
Similar Resources

Classy web framework for Go

Martini NOTE: The martini framework is no longer maintained. Martini is a powerful package for quickly writing modular web applications/services in Go

Dec 29, 2022

A Go framework for building JSON web services inspired by Dropwizard

Tiger Tonic A Go framework for building JSON web services inspired by Dropwizard. If HTML is your game, this will hurt a little. Like the Go language

Dec 9, 2022

The web framework for Golang

The web framework for Golang

uAdmin the Golang Web Framework Easy to use, blazing fast and secure. Originally open source by IntegrityNet Solutions and Services For Documentation:

Dec 24, 2022

Simple web framework for go, still quite beta at this point

WFDR Framework - Beta Release New 18/Feb/2012: Updated for go 1.0, new directory layout to take advantage of the go build tool. Background There's a m

Feb 11, 2021

package for building REST-style Web Services using Go

go-restful package for building REST-style Web Services using Google Go Code examples using v3 REST asks developers to use HTTP methods explicitly and

Jan 1, 2023

:bullettrain_side: High-performance web server for Go.

:bullettrain_side: High-performance web server for Go.

Aero is a high-performance web server with a clean API. Installation go get -u github.com/aerogo/aero/... Usage Run this in an empty directory: aero -

Dec 8, 2022

The easiest way to create web applications with Go

web.go web.go is the simplest way to write web applications in the Go programming language. It's ideal for writing simple, performant backend web serv

Dec 24, 2022

A simple blog framework built with GO. Uses HTML files and a JSON dict to give you more control over your content.

Go-Blog A simple template based blog framework. Instructions Built for GO version: 1 See the Documentation or Getting Started pages in the wiki. Notes

Sep 10, 2022

Goldorak GO is a mini framework for the Go programming language. (unfinished dead code)

Goldorak Go =========== Goldorak GO ! Rétrolaser en action Goldorak GO !! Va accomplir ta mission Dans l'infini Des galaxies Poursuis ta lu

Apr 29, 2021
Comments
  • Bug compile

    Bug compile

    AppEngine - release: "1.6.1"

    Compile error: /google_appengine/demos/helloworld/app/filters.go:16: undefined: template.FormatterMap /google_appengine/demos/helloworld/app/app.go:73: undefined: template.Parse /google_appengine/demos/helloworld/app/app.go:77: undefined: template.Parse /google_appengine/demos/helloworld/app/app.go:88: too many arguments in call to strings.Split /google_appengine/demos/helloworld/app/app.go:98: undefined: http.ParseQuery /google_appengine/demos/helloworld/app/app.go:99: typechecking loop /google_appengine/demos/helloworld/app/app.go:316: undefined: template.MustParseFile

Golanger Web Framework is a lightweight framework for writing web applications in Go.

/* Copyright 2013 Golanger.com. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except

Nov 14, 2022
An ideally refined web framework for Go.

Air An ideally refined web framework for Go. High-performance? Fastest? Almost all web frameworks are using these words to tell people that they are t

Dec 15, 2022
Eudore is the core of a golang lightweight web framework.

Eudore eudore是一个golang轻量级web框架核心,可以轻松扩展成一个技术栈专用框架,具有完整框架设计体系。 反馈和交流请加群组:QQ群373278915。 Features 易扩展:主要设计目标、核心全部解耦,接口即为逻辑。 简单:对象语义明确,框架代码量少复杂度低,无依赖库。 易用

Nov 7, 2022
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

Gin Web Framework Gin is a web framework written in Go (Golang). It features a martini-like API with performance that is up to 40 times faster thanks

Jan 2, 2023
Goal is a toolkit for high productivity web development in Go language in the spirit of Revel Framework that is built around the concept of code generation.

Goal Goal is a set of tools for high productivity web development in Go language. Goal, being mostly inspired by Revel Framework and its discussions,

Sep 27, 2021
a golang web mvc framework, like asp.net mvc.

goku goku is a Web Mvc Framework for golang, mostly like ASP.NET MVC. doc & api Installation To install goku, simply run go get github.com/QLeelulu/go

Dec 7, 2022
A high level web-framework for Go

go-start is a high level web-framework for Go, like Django for Python or Rails for Ruby. Installation: go get github.com/ungerik/go-start Documentatio

Dec 24, 2022
A lightweight RESTful web framework for Go
A lightweight RESTful web framework for Go

Goweb A lightweight RESTful web framework for Go. For examples and usage, please read the Goweb API Documentation Read our Articles Who uses Goweb? "U

Dec 12, 2022
Fast and Reliable Golang Web Framework
Fast and Reliable Golang Web Framework

Gramework The Good Framework Gramework long-term testing stand metrics screenshot made with Gramework Stats Dashboard and metrics middleware What is i

Dec 18, 2022
Mango is a modular web-application framework for Go, inspired by Rack, and PEP333.

Mango Mango is a modular web-application framework for Go, inspired by Rack and PEP333. Note: Not actively maintained. Overview Mango is most of all a

Nov 17, 2022