Skip to content

Commit

Permalink
Merge pull request #90 from karldoenitz/feature-v1.6.6
Browse files Browse the repository at this point in the history
修改脚手架工具
  • Loading branch information
karldoenitz authored Jan 11, 2023
2 parents cda4e54 + 8960973 commit f2f17fc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions demo/tiger/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ func main() {
}
`
handlerCode = `package handler
handlerCode = `// you can write your code here.
// You can add 'Post', 'Put', 'Delete' and other methods to handler.
package handler
import (
"github.com/karldoenitz/Tigo/TigoWeb"
Expand All @@ -79,8 +81,10 @@ func (p *%s) Get() {
p.ResponseAsText("Pong")
}
// you can write your code here.
// to add 'Post', 'Put', 'Delete' and other methods here.
func (p *%s) Post() {
// write your code here
p.ResponseAsText("Pong")
}
`
configCodeJson = `{
Expand Down

0 comments on commit f2f17fc

Please sign in to comment.