change imports

This commit is contained in:
simon987 2019-03-10 09:47:11 -04:00
parent f50df4226d
commit 15a3e66b70
20 changed files with 23 additions and 19 deletions

View File

@ -2,8 +2,8 @@ package api
import (
"encoding/json"
"github.com/Sirupsen/logrus"
"github.com/simon987/task_tracker/storage"
"github.com/sirupsen/logrus"
"strconv"
)

View File

@ -1,7 +1,7 @@
package api
import (
"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"runtime/debug"
)

View File

@ -6,9 +6,9 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
"github.com/Sirupsen/logrus"
"github.com/simon987/task_tracker/config"
"github.com/simon987/task_tracker/storage"
"github.com/sirupsen/logrus"
"github.com/valyala/fasthttp"
"hash"
"strings"

View File

@ -2,7 +2,7 @@ package api
import (
"encoding/json"
"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/valyala/fasthttp"
)

View File

@ -3,8 +3,8 @@ package api
import (
"encoding/json"
"errors"
"github.com/Sirupsen/logrus"
"github.com/simon987/task_tracker/config"
"github.com/sirupsen/logrus"
"github.com/valyala/fasthttp"
"os"
"time"

View File

@ -2,12 +2,12 @@ package api
import (
"fmt"
"github.com/Sirupsen/logrus"
"github.com/buaazp/fasthttprouter"
"github.com/kataras/go-sessions"
"github.com/robfig/cron"
"github.com/simon987/task_tracker/config"
"github.com/simon987/task_tracker/storage"
"github.com/sirupsen/logrus"
"github.com/valyala/fasthttp"
"sync"
)

View File

@ -2,9 +2,9 @@ package api
import (
"encoding/json"
"github.com/Sirupsen/logrus"
"github.com/google/uuid"
"github.com/simon987/task_tracker/storage"
"github.com/sirupsen/logrus"
"golang.org/x/time/rate"
"strconv"
)

View File

@ -7,9 +7,9 @@ import (
"encoding/hex"
"encoding/json"
"errors"
"github.com/Sirupsen/logrus"
"github.com/dchest/siphash"
"github.com/simon987/task_tracker/storage"
"github.com/sirupsen/logrus"
"math"
"strconv"
"time"

View File

@ -2,8 +2,8 @@ package api
import (
"encoding/json"
"github.com/Sirupsen/logrus"
"github.com/simon987/task_tracker/storage"
"github.com/sirupsen/logrus"
"math/rand"
"strconv"
"time"

View File

@ -1,7 +1,7 @@
package config
import (
"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/spf13/viper"
"time"
)

View File

@ -5,7 +5,7 @@ import (
"crypto"
"database/sql"
"errors"
"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
)
type ManagerRole int

View File

@ -2,9 +2,9 @@ package storage
import (
"database/sql"
"github.com/Sirupsen/logrus"
_ "github.com/lib/pq"
"github.com/simon987/task_tracker/config"
"github.com/sirupsen/logrus"
"io/ioutil"
"os"
"sync"

View File

@ -2,8 +2,8 @@ package storage
import (
"encoding/json"
"github.com/Sirupsen/logrus"
"github.com/simon987/task_tracker/config"
"github.com/sirupsen/logrus"
)
type LogEntry struct {

View File

@ -1,7 +1,7 @@
package storage
import (
"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
)
func (database *Database) ResetFailedTasks(pid int64) int64 {

View File

@ -1,8 +1,8 @@
package storage
import (
"github.com/Sirupsen/logrus"
"github.com/simon987/task_tracker/config"
"github.com/sirupsen/logrus"
"time"
)

View File

@ -2,7 +2,7 @@ package storage
import (
"database/sql"
"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"golang.org/x/time/rate"
"strings"
)

View File

@ -3,7 +3,7 @@ package storage
import (
"errors"
"fmt"
"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
)
type Task struct {

View File

@ -1,7 +1,7 @@
package storage
import (
"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
)
type Worker struct {

View File

@ -2,9 +2,9 @@ package test
import (
"fmt"
"github.com/Sirupsen/logrus"
"github.com/simon987/task_tracker/api"
"github.com/simon987/task_tracker/storage"
"github.com/sirupsen/logrus"
"testing"
"time"
)

View File

@ -46,6 +46,10 @@
<mat-label>{{"project.submit_rate"|translate}}</mat-label>
<input matInput [(ngModel)]="project.submit_rate" name="submit_rate" type="number">
</mat-form-field>
<mat-checkbox [(ngModel)]="project.public"
style="padding-top: 1em">
{{"project.public" | translate}}</mat-checkbox>
</form>
</mat-card-content>
<mat-card-actions>