Skip to content

Package is not compatible with go1.1 anymore #316

@GeertJohan

Description

@GeertJohan

The travis build for gorp failed with an error in the go1.1 build:
../../go-sql-driver/mysql/connection.go:202: undefined: strings.IndexByte
This is because strings.IndexByte was added in go1.2. See: https://golang.org/doc/go1.2

This package states to be compatible with go1.1 in the readme.

Go 1.1 or higher

I dont think this package has to stay compatible with go1.1. It's a very old release and most projects have no trouble upgrading to newer versions of Go because of the great compatibility. Only projects abusing bugs or erroneous behavior in old versions of Go will have trouble upgrading, but they should fix their code anyway.

At the gorp project, I've proposed to only support the last 2 minor versions of Go: go-gorp/gorp#225

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