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

Roche is a Code Generator and Web Framework, makes web development super concise with Go, CleanArch

Roche is a Code Generator and Web Framework, makes web development super concise with Go, CleanArch

It is still under development, so please do not use it. We plan to release v.1.0.0 in the summer. roche is a web framework optimized for microservice

Sep 19, 2022

A powerful go web framework for highly scalable and resource efficient web application

webfr A powerful go web framework for highly scalable and resource efficient web application Installation: go get -u github.com/krishpranav/webfr Exa

Nov 28, 2021

A powerful go web framework for highly scalable and resource efficient web application

A powerful go web framework for highly scalable and resource efficient web application

Oct 3, 2022

skr: The lightweight and powerful web framework using the new way for Go.Another go the way.

skr: The lightweight and powerful web framework using the new way for Go.Another go the way.

skr Overview Introduction Documents Features Install Quickstart Releases Todo Pull Request Issues Thanks Introduction The lightweight and powerful web

Jan 11, 2022

REST api using fiber framework written in golang and using firebase ecosystem to authentication, storage and firestore as a db and use clean architecture as base

REST api using fiber framework written in golang and using firebase ecosystem to authentication, storage and firestore as a db and use clean architecture as base

Backend API Example FiberGo Framework Docs : https://github.com/gofiber Info This application using firebase ecosystem Firebase Auth Cloud Storage Fir

May 31, 2022

Start and finish your Go apps gracefully, even in the case of panics

Relax Relax - verb antonym for panic. In the context of Go programs, relax means to make critical failures less severe so that graceful shutdown is ne

May 7, 2023

Project template for creating an RESTful webservice in Go, with relational database backend & example content.

gofound-restful Project template for creating an RESTfull webservice in Go, with relational database backend and example content. Used packages github

Dec 15, 2022

re:Web enables classic web applications to run on AWS Lambda.

re:Web enables classic web applications to run on AWS Lambda.

re:Web re:Web enables classic web applications to run on AWS Lambda. re:Web interfaces with the Lambda Runtime API. It translates API Gateway requests

Jan 1, 2023
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

Related tags
Flamingo Framework and Core Library. Flamingo is a go based framework for pluggable web projects. It is used to build scalable and maintainable (web)applications.
Flamingo Framework and Core Library. Flamingo is a go based framework for pluggable web projects. It is used to build scalable and maintainable (web)applications.

Flamingo Framework Flamingo is a web framework based on Go. It is designed to build pluggable and maintainable web projects. It is production ready, f

Jan 5, 2023
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
The jin is a simplified version of the gin web framework that can help you quickly understand the core principles of a web framework.

jin About The jin is a simplified version of the gin web framework that can help you quickly understand the core principles of a web framework. If thi

Jul 14, 2022
A web app built using Go Buffalo web framework

Welcome to Buffalo Thank you for choosing Buffalo for your web development needs. Database Setup It looks like you chose to set up your application us

Feb 7, 2022
Go-app is a package to build progressive web apps with Go programming language and WebAssembly.
Go-app is a package to build progressive web apps with Go programming language and WebAssembly.

Go-app is a package to build progressive web apps with Go programming language and WebAssembly.

Dec 30, 2022
🚀‏‏‎ ‎‏‏‎‏‏‎‎‎‎‎‎Copper is a Go toolkit complete with everything you need to build web apps.

Copper Copper is a Go toolkit complete with everything you need to build web apps. It focuses on developer productivity and makes building web apps in

Jan 7, 2023
A framework for apps written entirely in YAML, powered by ytt.

yapp A framework for apps written entirely in YAML, powered by ytt. Highly experimental! Do not use! # start the server... go run . -f examples/hello-

May 6, 2022
golang library for creating web application

RUI library The RUI (Remoute User Interface) library is designed to create web applications in the go language. The peculiarity of the library is that

Dec 7, 2022
⚡ Rux is an simple and fast web framework. support middleware, compatible http.Handler interface. 简单且快速的 Go web 框架,支持中间件,兼容 http.Handler 接口

Rux Simple and fast web framework for build golang HTTP applications. NOTICE: v1.3.x is not fully compatible with v1.2.x version Fast route match, sup

Dec 8, 2022