mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	format with gofumpt (#18184)
* gofumpt -w -l . * gofumpt -w -l -extra . * Add linter * manual fix * change make fmt
This commit is contained in:
		| @@ -27,8 +27,7 @@ func init() { | ||||
| } | ||||
|  | ||||
| // Renderer implements markup.Renderer for orgmode | ||||
| type Renderer struct { | ||||
| } | ||||
| type Renderer struct{} | ||||
|  | ||||
| // Name implements markup.Renderer | ||||
| func (Renderer) Name() string { | ||||
|   | ||||
| @@ -15,9 +15,11 @@ import ( | ||||
| 	"github.com/stretchr/testify/assert" | ||||
| ) | ||||
|  | ||||
| const AppURL = "http://localhost:3000/" | ||||
| const Repo = "gogits/gogs" | ||||
| const AppSubURL = AppURL + Repo + "/" | ||||
| const ( | ||||
| 	AppURL    = "http://localhost:3000/" | ||||
| 	Repo      = "gogits/gogs" | ||||
| 	AppSubURL = AppURL + Repo + "/" | ||||
| ) | ||||
|  | ||||
| func TestRender_StandardLinks(t *testing.T) { | ||||
| 	setting.AppURL = AppURL | ||||
|   | ||||
		Reference in New Issue
	
	Block a user