Skip to content

Commit

Permalink
i think there is a dep bug...
Browse files Browse the repository at this point in the history
  • Loading branch information
cdreier committed Jan 2, 2018
1 parent b3f7617 commit fe95a1f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"os"

"github.com/gorilla/websocket"
"github.com/mdp/qrterminal"
)

type holder struct {
Expand All @@ -26,14 +25,14 @@ func main() {
rootDir := flag.String("dir", "example", "root dir of your presentation")
title := flag.String("title", "Slide", "html title")
devMode := flag.Bool("dev", false, "dev true to start a filewatcher and reload the edited slide")
control := flag.Bool("control", false, "attach controller with peer to peer ")
// control := flag.Bool("control", false, "attach controller with peer to peer ")
flag.Parse()

isDemo := false

if *control {
qrterminal.GenerateHalfBlock("http://drailing.net", qrterminal.L, os.Stdout)
}
// if *control {
// qrterminal.GenerateHalfBlock("http://drailing.net", qrterminal.L, os.Stdout)
// }

if *rootDir == "example" && !dirExist(*rootDir) {
isDemo = true
Expand Down

0 comments on commit fe95a1f

Please sign in to comment.