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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user