Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Commit e576553

Browse files
author
B1nj0y
committed
update README
1 parent 6e84218 commit e576553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ rails g gor dev
9595

9696
Then we go to the generated `go_app` directory to make two web pages, an `index` page to list all posts, and a `show` page to show a post content.
9797

98-
We need make two template files named `index.tmpl` and `show.tmpl` under the `views` directory at first, and create a controller file named `post_controller.go` in controller directory, the controller file have two `handler` functions: a `IndexHandler` and a `ShowHandler`.
98+
We need to make two template files named `index.tmpl` and `show.tmpl` under the `views` directory at first, and create a controller file named `post_controller.go` in controller directory, the controller file have two `handler` functions: a `IndexHandler` and a `ShowHandler`.
9999

100100
We use the `Gin` framework, more details you can refer to its doc: https://github.com/gin-gonic/gin.
101101

@@ -147,7 +147,7 @@ bundle
147147
bundle exec rails webpacker:install
148148
```
149149

150-
Because we plan to use `React` in our project, we need install the React support of webpacker:
150+
Because we plan to use `React` in our project, we need to install the React support of webpacker:
151151

152152
```bash
153153
bundle exec rails webpacker:install:react

0 commit comments

Comments
 (0)