Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asdgo

Caution

This repository is heavily under development and is not ready for production use. It's untested, it uses global vars, it's not documented and I'm new Go. I'm currently using it to build my projects and sometimes I decide to rewrite stuff, thus breaking things. I use it for almost all my personal Go web projects. I will update/remove this message when it's ready for public use and is going into a stable release.

Asdgo is an opinionated and simple Go web "framework", or rather a set of components which glues together some packages and logic that I don't want to write everytime I start a new project.

This project uses the following amazing packages (please go check them out)

Components

Every component is prefixed with the letter a, so it doesn't conflict with the naming of other packages (or internal packages). So template becomes atemplate, mail becomes amail, etc, etc.

acontext

(For retrieving things from the context)

adatabase

(For default user model)

ahash

(For hash)

amail

(For sending emails)

amiddleware

aqueue

(A simple queue)

aschedule

(A simple schedule)

asession

atemplate

avalidate

Example

asd := asdgo.New(asdgo.Config{})

asd.GET("/", func (c echo.Context) error {
    return c.SendString(http.StatusOK, "Hello, world!")
})

Feedback

If you have any ideas on how to improve things, please open a issue or pull request.

About

An opinionated and simple Go web framework.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages