Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
arugal committed Nov 20, 2020
1 parent aa2b72f commit 6ebdb66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- { name: 'Gin v3', plugin_dir: 'gin/v3', go_version: '1.12'}
- { name: 'Go micro', plugin_dir: 'micro', go_version: '1.13'}
- { name: 'Go resty', plugin_dir: 'resty', go_version: '1.12'}
- { name: 'Go restful', plugin_dir: 'go-restful', go_version: '1.13'}
steps:
- name: Set up Go ${{ matrix.case.go_version }}
uses: actions/setup-go@v2
Expand Down
3 changes: 2 additions & 1 deletion go-restful/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ go get -u github.com/SkyAPM/go2sky-plugins/go-restful
package main

import (
"io"
"log"

"github.com/SkyAPM/go2sky"
Expand Down Expand Up @@ -39,7 +40,7 @@ func main() {
ws.Route(ws.GET("/hello").To(func(req *restful.Request, resp *restful.Response) {
io.WriteString(resp, "go-restful")
}))
restful.Add(ws)
restful.Add(ws)
go func() {
http.ListenAndServe(":8080", nil)
}()
Expand Down

0 comments on commit 6ebdb66

Please sign in to comment.