Giter Club home page Giter Club logo

ace's People

Contributors

gmonnerat avatar nicklasos avatar robvdl avatar tcyrus avatar witooh avatar xeptore avatar zier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ace's Issues

Static on the root URL / does not seem possible

The following doesn't seem to be possible:

a.Static("/", "public")

The reason I am mentioning this, is because a lot of other Go frameworks seem to use the root URL for static files.

This works fine however:

a.Static("/static", "public")

It's not a huge deal, but would be nice if this can be made possible without too much hassle.

Similar with echo

Hi, this is very similar to echo labstack. Any history behind it?

Need some additional help how to use ace-contrib/pongo2

I am sorry that this isn't really a bug, but I can't quite figure out how to correctly use ace-contrib/pongo2 with ace.

It mentions in the README that this implements the Renderer interface, but there isn't really an example, so I can't seem to figure out how it's meant to be used correctly.

not enough arguments in call to uuid.Must have (uuid.UUID) want (uuid.UUID, error)

test code

package main

import "github.com/plimble/ace"

func main() {
	a := ace.New()
	a.GET("/:name", func(c *ace.C) {
		name := c.Param("name")
		c.JSON(200, map[string]string{"hello": name})
	})
	a.Run(":8088")

}

go: finding github.com/plimble/ace latest
go: finding github.com/plimble/sessions latest
go: finding github.com/plimble/utils latest
go: finding github.com/oxtoacart/bpool latest

github.com/plimble/sessions

\gopath\pkg\mod\github.com\plimble\[email protected]\utils.go:31:17: not enough arguments in call to uuid.Must
have (uuid.UUID)
want (uuid.UUID, error)

Support for multipart file upload

I can't seem to find a way to do file uploading through Ace, from client to server.
File uploading is a pretty essential part of a lot of applications, so support would be very much appreciated.
Could this be added?

documentation request

could you show an example of using a simple template with html/template with ace ?

nested router and static path

I have a problem regarding using nested router and static path. I have a simple

a.Static("/public", "./public")
a.GET("/signin", func(c *ace.C) {/*stuff here */})
a.GET("/one/another", func(c *ace.C){/*stuff here */})

I have a simple css declaring in the template file like this

<link rel="stylesheet" href="public/dist/main.css"/>  

With the first route, it requests the path correctly which is public/dist/main.css
but in the second route, it requests one/public/dist/main.css which is not available.

trouble installing wiht go 1.5.1

I don't know if its specifically a problem with 1.5.1 but i get this error

c:\gocode\src\github.com\plimble\ace\context.go:163: assignment count mismatch:
2 = 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.