Skip to content

Commit

Permalink
rename Go package
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanleo committed Sep 29, 2019
1 parent e9f4c81 commit 9208a97
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM golang:1.11-alpine3.8 AS build_base

RUN apk --no-cache add git gcc musl-dev
WORKDIR /go/src/github.com/bottleneckco/radio-clerk
WORKDIR /go/src/github.com/bottleneckco/discord-radio
ENV GO111MODULE=on
COPY go.mod .
COPY go.sum .
RUN go mod download

FROM build_base AS server_builder
WORKDIR /go/src/github.com/bottleneckco/radio-clerk
WORKDIR /go/src/github.com/bottleneckco/discord-radio
ENV GOPATH /go
RUN go get -u github.com/bwmarrin/dca/cmd/dca
COPY . .
Expand All @@ -20,5 +20,5 @@ RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/yout
RUN chmod a+rx /usr/local/bin/youtube-dl
COPY --from=server_builder /go/bin/dca /usr/local/bin/dca
WORKDIR /root/
COPY --from=server_builder /go/src/github.com/bottleneckco/radio-clerk/app .
COPY --from=server_builder /go/src/github.com/bottleneckco/discord-radio/app .
CMD "./app"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# radio-clerk
[![CircleCI](https://circleci.com/gh/bottleneckco/radio-clerk/tree/master.svg?style=svg)](https://circleci.com/gh/bottleneckco/radio-clerk/tree/master)
# discord-radio
[![CircleCI](https://circleci.com/gh/bottleneckco/discord-radio/tree/master.svg?style=svg)](https://circleci.com/gh/bottleneckco/discord-radio/tree/master)
Discord music bot, written in Golang

### Requirements
Expand Down
2 changes: 1 addition & 1 deletion commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync"
"time"

"github.com/bottleneckco/radio-clerk/models"
"github.com/bottleneckco/discord-radio/models"
"github.com/bwmarrin/discordgo"
"github.com/joho/godotenv"
"google.golang.org/api/googleapi/transport"
Expand Down
2 changes: 1 addition & 1 deletion commands/join.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"os/exec"

"github.com/bottleneckco/radio-clerk/util"
"github.com/bottleneckco/discord-radio/util"
"github.com/bwmarrin/discordgo"
"github.com/evalphobia/google-tts-go/googletts"
)
Expand Down
2 changes: 1 addition & 1 deletion commands/play.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strconv"
"strings"

"github.com/bottleneckco/radio-clerk/models"
"github.com/bottleneckco/discord-radio/models"

"google.golang.org/api/youtube/v3"

Expand Down
2 changes: 1 addition & 1 deletion commands/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

"google.golang.org/api/youtube/v3"

"github.com/bottleneckco/radio-clerk/models"
"github.com/bottleneckco/discord-radio/models"
)

type ControlMessage int
Expand Down
2 changes: 1 addition & 1 deletion commands/skip.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strconv"

"github.com/bottleneckco/radio-clerk/models"
"github.com/bottleneckco/discord-radio/models"

"github.com/bwmarrin/discordgo"
)
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: '3'
services:
radio-clerk:
discord-radio:
build: .
env_file:
- .env
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"strings"
"syscall"

"github.com/bottleneckco/radio-clerk/commands"
"github.com/bottleneckco/radio-clerk/util"
"github.com/bottleneckco/discord-radio/commands"
"github.com/bottleneckco/discord-radio/util"
"github.com/bwmarrin/discordgo"
"github.com/evalphobia/google-tts-go/googletts"
"github.com/joho/godotenv"
Expand Down

0 comments on commit 9208a97

Please sign in to comment.