Refactor imports, Add vendor/ as submodule (#5)

refact imports to github.xxx. update go.mod + go.sum

* removed vendor/ folder

* Added vendor/ submodule.

Moved dependencies that need to be vendored into separate repository.
	- https://github.com/spdfg/elektron-vendor
Added vendor/ as a submodule using the below command.
	- git submodule add https://github.com/spdfg/elektron-vendor vendor
If wanting to use vendor, run the following commands after cloning
elektron.
1. git submodule init
2. git submodule update

* added instructions to clone vendor/ submodule.

* updated module to spdfg. Refactored imports
This commit is contained in:
PRADYUMNA KAUSHIK 2019-10-31 14:32:46 -04:00 committed by GitHub
parent b4975900f6
commit e3caa90c31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
704 changed files with 851 additions and 383502 deletions

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//
@ -16,7 +16,7 @@
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
//
package main // import gitlab.com/spdf/elektron
package main // import github.com/spdfg/elektron
import (
"flag"
@ -30,11 +30,11 @@ import (
"github.com/golang/protobuf/proto"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler"
"gitlab.com/spdf/elektron/def"
elekLogDef "gitlab.com/spdf/elektron/logging/def"
"gitlab.com/spdf/elektron/pcp"
"gitlab.com/spdf/elektron/powerCap"
"gitlab.com/spdf/elektron/schedulers"
"github.com/spdfg/elektron/def"
elekLogDef "github.com/spdfg/elektron/logging/def"
"github.com/spdfg/elektron/pcp"
"github.com/spdfg/elektron/powerCap"
"github.com/spdfg/elektron/schedulers"
)
var master = flag.String("master", "", "Location of leading Mesos master -- <mesos-master>:<port>")