Skip to content

Commit ac89a74

Browse files
committed
Uniform gitea as Gitea
1 parent b074e07 commit ac89a74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/doc/developers/guidelines-backend.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ So it's very important to manage these packages. Please take the below guideline
2929

3030
### Packages List
3131

32-
To maintain understandable code and avoid circular dependencies it is important to have a good code structure. The gitea backend is divided into the following parts:
32+
To maintain understandable code and avoid circular dependencies it is important to have a good code structure. The Gitea backend is divided into the following parts:
3333

3434
- `build`: Scripts to help build Gitea.
3535
- `cmd`: All Gitea actual sub commands includes web, doctor, serv, hooks, admin and etc. `web` will start the web service. `serv` and `hooks` will be invoked by git or openSSH. Other sub commands could help to mantain Gitea.
@@ -100,7 +100,7 @@ i.e. `servcies/user`, `models/repository`.
100100
### Import Alias
101101

102102
Since there are many levels because of package levels, sometimes you will encouter `modules/user`, `models/user`, `services/user`, so we recommand to use import alias. To differ from package variables, use **snake_case** as import package alias.
103-
i.e. `import user_service "code.gitea.io/gitea/services/user"`
103+
i.e. `import user_service "code.Gitea.io/Gitea/services/user"`
104104

105105
### Future Tasks
106106

0 commit comments

Comments
 (0)