Skip to content

Commit 58c74eb

Browse files
authored
Merge pull request #128 from devopsdays/update-stutters
Fix stuttering functions in Event package
2 parents 9dd491a + 23d1d95 commit 58c74eb

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

event/event.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,11 @@ func CreateEvent(city, year string) (err error) {
231231

232232
}
233233
if answers.LogoPath != "" {
234-
err = EventLogo(answers.LogoPath, CityClean(city), year)
234+
err = Logo(answers.LogoPath, CityClean(city), year)
235235
}
236236

237237
if answers.SquareLogoPath != "" {
238-
err = EventLogoSquare(answers.SquareLogoPath, CityClean(city), year)
238+
err = LogoSquare(answers.SquareLogoPath, CityClean(city), year)
239239
}
240240

241241
return
@@ -263,8 +263,8 @@ func NewEvent(event model.Event, city string, year string) (err error) {
263263
return
264264
}
265265

266-
// EventLogo takes in a path to an event's main logo and copies/renames it to the proper destination
267-
func EventLogo(srcPath, city, year string) (err error) {
266+
// Logo takes in a path to an event's main logo and copies/renames it to the proper destination
267+
func Logo(srcPath, city, year string) (err error) {
268268

269269
eventStaticPath, err := paths.EventStaticPath(city, year)
270270
if err != nil {
@@ -280,8 +280,8 @@ func EventLogo(srcPath, city, year string) (err error) {
280280

281281
}
282282

283-
// EventLogoSquare takes in a path the event's square logo, and crops/resizes it and copies it to the proper destination
284-
func EventLogoSquare(srcPath, city, year string) (err error) {
283+
// LogoSquare takes in a path the event's square logo, and crops/resizes it and copies it to the proper destination
284+
func LogoSquare(srcPath, city, year string) (err error) {
285285
eventStaticPath, err := paths.EventStaticPath(city, year)
286286
if err != nil {
287287
log.Fatal(err)

0 commit comments

Comments
 (0)