mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-01-11 00:50:57 -05:00
Remove GoLand
This commit is contained in:
parent
b8e37e4237
commit
eda0ec8443
1 changed files with 0 additions and 11 deletions
|
@ -30,15 +30,4 @@ Do you know how to configure it properly? Why not document that here?
|
||||||
Vim has [a Go plugin](https://github.com/fatih/vim-go) that can likely be used to work on Forgejo's code base.
|
Vim has [a Go plugin](https://github.com/fatih/vim-go) that can likely be used to work on Forgejo's code base.
|
||||||
Do you know how to configure it properly? Why not document that here?
|
Do you know how to configure it properly? Why not document that here?
|
||||||
|
|
||||||
## GoLand
|
|
||||||
|
|
||||||
Clicking the `Run Application` arrow on the function `func main()` in `/main.go`
|
|
||||||
can quickly start a debuggable Gitea instance.
|
|
||||||
|
|
||||||
The `Output Directory` in `Run/Debug Configuration` MUST be set to the
|
|
||||||
gitea project directory (which contains `main.go` and `go.mod`),
|
|
||||||
otherwise, the started instance's working directory is a GoLand's temporary directory
|
|
||||||
and prevents Gitea from loading dynamic resources (eg: templates) in a development environment.
|
|
||||||
|
|
||||||
To run unit tests with SQLite in GoLand, set `-tags sqlite,sqlite_unlock_notify`
|
|
||||||
in `Go tool arguments` of `Run/Debug Configuration`.
|
|
||||||
|
|
Loading…
Reference in a new issue