1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

README.md: example change

Former-commit-id: 4a66a689f86e5cd93ec9001e5ca18b4f5d3923be
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-07-23 15:58:55 +03:00
parent f7c0cbe5cd
commit 7337396e3c
5 changed files with 87 additions and 41 deletions

View File

@@ -31,7 +31,7 @@ func (c *VisitController) Get() string {
visits := c.Session.Increment("visits", 1)
// write the current, updated visits.
since := time.Now().Sub(c.StartTime).Seconds()
return fmt.Sprintf("%d visit from my current session in %0.1f seconds of server's up-time",
return fmt.Sprintf("%d visit(s) from my current session in %0.1f seconds of server's up-time",
visits, since)
}