Skip to content
Permalink
Browse files

Modified quote, added an apostle because, well, I can.

  • Loading branch information...
Depado committed Jan 15, 2016
1 parent 79099c1 commit 80da3feb0a4ae93525655b6edff749ec259c8b57
Showing with 8 additions and 5 deletions.
  1. +6 −3 jagon/jagon.go
  2. +1 −1 main.go
  3. +1 −1 templates/index.html
@@ -34,10 +34,13 @@ func Prophet(c *gin.Context) {
})
}

// Apostotles gives some information about the current apostotles.
func Apostotles(c *gin.Context) {
// Apostles gives some information about the current apostotles.
func Apostles(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{
"current": []gin.H{gin.H{"name": "Hekmon", "alive": true}},
"current": []gin.H{
gin.H{"name": "Hekmon", "alive": true, "location": "In a dark underground temple, accompanied by a dwarf, an elf and a Shiba Inu."},
gin.H{"name": "Thonain", "alive": true, "location": "In the back of a seedy, dark and smelly alley, right near a drunk's vomit from last night."},
},
})
}

@@ -37,7 +37,7 @@ func main() {
apir.POST("/confess", jagon.Confess)
apir.POST("/sacrifice", jagon.DoSacrifice)
apir.GET("/info/prophet", jagon.Prophet)
apir.GET("/info/apostles", jagon.Apostotles)
apir.GET("/info/apostles", jagon.Apostles)
}
r.Run(":" + strconv.Itoa(conf.C.Port))
}
@@ -70,7 +70,7 @@ <h5 class="center">They tried the API !</h5>
</div>
<div class="col s12 m4">
<div class="card-panel light-blue">
<p class="white-text">“Thanks to the Jagon API, I could confess things that I never said to anyone ! Such a relief !”</p>
<p class="white-text">“Thanks to the Jagon API, I can now sacrifice things all day long and with great response time !”</p>
<p class="right-align white-text"><i>NK`</i></p>
</div>
</div>

2 comments on commit 80da3fe

@rdstach

This comment has been minimized.

Copy link
Contributor

replied Dec 3, 2017

Is there a possibility that someone could add an apostle?

@Depado

This comment has been minimized.

Copy link
Owner Author

replied Dec 4, 2017

Sure thing, simply create a pull request ;)

Please sign in to comment.
You can’t perform that action at this time.