Skip to content

Commit

Permalink
Fixed grammatical issues in the landing page and documentation home p…
Browse files Browse the repository at this point in the history
…age (#156)
  • Loading branch information
flyingfisch committed Oct 9, 2020
1 parent 21ba08d commit 650a5f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions content/en/_index.html
Expand Up @@ -24,9 +24,9 @@

Gin is a web framework written in Golang.

It features a martini-like API with much better performance, up to 40 times faster.
It features a Martini-like API, but with performance up to 40 times faster than Martini.

If you need performance and good productivity, you will love Gin.
If you need performance and productivity, you will love Gin.

{{% /blocks/lead %}}

Expand All @@ -37,7 +37,7 @@
{{% /blocks/feature %}}

{{% blocks/feature icon="fa fa-bars" title="Middleware support" %}}
A incoming HTTP request can be handled by a chain of middlewares and the final action.
An incoming HTTP request can be handled by a chain of middleware and the final action.
For example: Logger, Authorization, GZIP and finally post a message in the DB.
{{% /blocks/feature %}}

Expand All @@ -50,16 +50,16 @@
{{< blocks/section color="white" >}}

{{% blocks/feature icon="fa fa-check-circle" title="JSON validation" %}}
Gin can parse and validate the JSON of a request, checking for example the existence of required values.
Gin can parse and validate the JSON of a request, checking, for example, the existence of required values.
{{% /blocks/feature %}}

{{% blocks/feature icon="fa fa-users-cog" title="Routes grouping" %}}
Organize your routes better. Authorization required vs non required, different API versions. In addition, the groups can be nested unlimitedly without degrading performance.
Organize your routes better. Authorization required vs non required, different API versions. In addition, groups can be nested infinitely without degrading performance.
{{% /blocks/feature %}}


{{% blocks/feature icon="fa fa-briefcase" title="Error management" %}}
Gin provides a convenient way to collect all the errors occurred during a HTTP request. Eventually, a middleware can write them to a log file, to a database and send them through the network.
Gin provides a convenient way to collect all the errors occurred during a HTTP request. Eventually, middleware can write them to a log file, to a database and send them through the network.
{{% /blocks/feature %}}

{{< /blocks/section >}}
Expand All @@ -71,7 +71,7 @@
{{% /blocks/feature %}}

{{% blocks/feature icon="fa fa-code" title="Extendable" %}}
Creating a new middleware is so easy, just check out the sample codes.
Creating new middleware is so easy, just check out the sample code.
{{% /blocks/feature %}}

{{< /blocks/section >}}
4 changes: 2 additions & 2 deletions content/en/docs/_index.md
Expand Up @@ -9,11 +9,11 @@ menu:

## What is Gin?

Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API, but with performance up to 40 times faster than Martini. If you need smashing performance, get yourself some Gin.

## How to use Gin?

We provide some API usage [examples](https://github.com/gin-gonic/examples) and lists some public known [Gin's user](./users).
We provide API usage [examples](https://github.com/gin-gonic/examples) and list some publicly known [Gin users](./users).

## How to contribute to Gin?

Expand Down

0 comments on commit 650a5f6

Please sign in to comment.