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.
//

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//
@ -24,8 +24,8 @@ import (
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
"github.com/pkg/errors"
"gitlab.com/spdf/elektron/constants"
"gitlab.com/spdf/elektron/utilities/offerUtils"
"github.com/spdfg/elektron/constants"
"github.com/spdfg/elektron/utilities/offerUtils"
)
type Task struct {

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//
@ -21,8 +21,8 @@ package def
import (
"fmt"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
"github.com/spdfg/elektron/constants"
"github.com/stretchr/testify/assert"
"gitlab.com/spdf/elektron/constants"
"reflect"
"testing"
)