Skip to content

Commit 9b1787c

Browse files
committed
Rename talks package to talk
Signed-off-by: Matt Stratton <[email protected]>
1 parent 09b6045 commit 9b1787c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

speaker/speaker.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"github.com/devopsdays/devopsdays-cli/images"
1818
"github.com/devopsdays/devopsdays-cli/model"
1919
"github.com/devopsdays/devopsdays-cli/names"
20-
"github.com/devopsdays/devopsdays-cli/talks"
20+
"github.com/devopsdays/devopsdays-cli/talk"
2121
"github.com/fatih/color"
2222
survey "gopkg.in/AlecAivazis/survey.v1"
2323
)
@@ -161,13 +161,13 @@ func CreateSpeaker(speakerName, city, year string) (err error) {
161161
}
162162
survey.AskOne(prompt, &name, nil)
163163

164-
talk := ""
164+
t := ""
165165
if name == true {
166166
prompt := &survey.Select{
167167
Message: "Choose a talk:",
168-
Options: talks.GetTalks(city, year),
168+
Options: talk.GetTalks(city, year),
169169
}
170-
survey.AskOne(prompt, &talk, nil)
170+
survey.AskOne(prompt, &t, nil)
171171
color.Yellow("NOT IMPLEMENTED")
172172
}
173173

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package talks
1+
package talk
22

33
import (
44
"fmt"

talk/talk.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Package talk includes the functionality to add, create, edit, remove, and show talks.
2+
// It also includes supporting and helper functions that are talk-releated.
3+
package talk

talks/talks.go

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)