Skip to content
This repository was archived by the owner on Feb 26, 2019. It is now read-only.
This repository was archived by the owner on Feb 26, 2019. It is now read-only.

i used gin, gin used +build #563

@usernameisnull

Description

@usernameisnull

My project used gin, and in gin, you can use built in 'encoding/json' or 'jsoniter',
my porject use 'encoding/json',so in $GOPATH/src,I don't have jsoniter,my gin works good
when i use 'godep save ' my project,shows info:
godep: Package (github.com/json-iterator/go) not found

I think there are a lot like this, because gin used govendor, when i entered gin' s source direcotry,use govender list,there are lots of missing, but i build success

m github.com/campoy/embedmd
m github.com/client9/misspell/cmd/misspell
m github.com/davecgh/go-spew/spew v1.1 v1.1.1
m github.com/dustin/go-broadcast
m github.com/gin-gonic/autotls
m github.com/jessevdk/go-assets
m github.com/json-iterator/go v1.1 v1.1.5
m github.com/manucorporat/stats
m github.com/stretchr/testify/assert v1.2 v1.2.2
m github.com/thinkerou/favicon
m golang.org/x/lint/golint
m golang.org/x/net/context
m golang.org/x/sync/errgroup
m google.golang.org/grpc
m google.golang.org/grpc/reflection

When i 'godep save' may i exclude some,like in my case,exclude jsoniter?

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