Skip to content

Build failure on App Engine standard environment #969

@dhanunjay

Description

@dhanunjay

Issue Description

Echo fails to build on appengine because util_go18.go is excluded in the package by the build constraint
// +build go1.8

Expected behaviour

build should succeed on appengine standard environment.

Actual behaviour

build fails on appengine

Fix for the issue

Just add the appengine constraint as shown below

// +build go1.8 appengine

package echo

import "net/url"

// PathUnescape is wraps `url.PathUnescape`
func PathUnescape(s string) (string, error) {
	return url.PathUnescape(s)
}

Version/commit

V3.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions