File: tango.go

package info (click to toggle)
golang-github-appleboy-gofight 2.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 212 kB
  • sloc: makefile: 50
file content (15 lines) | stat: -rw-r--r-- 230 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package example

import (
	"gitea.com/lunny/tango"
)

// HelloAction for tango router
type HelloAction struct {
	tango.Ctx
}

// Get will be executed when GET requests
func (c *HelloAction) Get() string {
	return "Hello, World"
}