Skip to content

[URGENT] Echo GAE problems #824

Closed
valyala/fasttemplate
#4
@Habu-Kagumba

Description

@Habu-Kagumba

Description

Echo dependency, github.com/valyala/fasttemplate throws an error on goapp serve.

Checklist

  • Dependencies installed
  • No typos
  • Searched existing issues and docs

Expected behaviour

Successfully build my application.

Actual behaviour

Throws this error:

2017/01/16 14:06:30 go-app-builder: Failed parsing input: parser: bad import "unsafe" in github.com/valyala/fasttemplate/template.go from GOPATH

Steps to reproduce

Try serving application using echo on Google App Engine.

Working code to debug

package main

import (
    "net/http"

    "github.com/labstack/echo"
    "google.golang.org/appengine"
)

func createMux() *echo.Echo {
    e := echo.New()
    return e
}

func main() {
    e := echo.New(":8080")
    http.Handle("/", e)
    appengine.Main()
}

Version/commit

v3.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions