This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ( | |
"github.com/ssdb/gossdb/ssdb" | |
"strconv" | |
"time" | |
) | |
var priorityQueue *ssdb.Client | |
func pushToQueue() { | |
key := "xyz" // Some unique key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nidhi11594/node-go:latest | |
# Install glide | |
RUN curl https://glide.sh/get | sh | |
RUN mkdir -p /go/src/github.com/App | |
COPY . /go/src/github.com/App | |
WORKDIR /go/src/github.com/App | |
# Install node packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.7 | |
# Install glide | |
RUN curl https://glide.sh/get | sh | |
RUN mkdir -p /go/src/github.com/App | |
COPY . /go/src/github.com/App | |
WORKDIR /go/src/github.com/App | |
# Install go packages |
NewerOlder