Skip to content

Commit 2af8278

Browse files
authored
Merge pull request #1 from simnalamburt/module
Make it as a go module
2 parents 22cdc7d + 496b8d9 commit 2af8278

File tree

4 files changed

+61
-54
lines changed

4 files changed

+61
-54
lines changed

.github/workflows/ci.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on: [push, pull_request]
2+
3+
jobs:
4+
test:
5+
runs-on: ubuntu-24.04
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-go@v5
9+
with:
10+
go-version: stable
11+
- run: |
12+
if [[ "$(go fmt)" ]]; then
13+
echo "Go files were not formatted properly"
14+
exit 1
15+
fi
16+
go build
17+
go test
18+
go vet

.gitignore

+1-54
Original file line numberDiff line numberDiff line change
@@ -1,54 +1 @@
1-
### OSX template
2-
.DS_Store
3-
.AppleDouble
4-
.LSOverride
5-
6-
# Icon must end with two \r
7-
Icon
8-
9-
# Thumbnails
10-
._*
11-
12-
# Files that might appear in the root of a volume
13-
.DocumentRevisions-V100
14-
.fseventsd
15-
.Spotlight-V100
16-
.TemporaryItems
17-
.Trashes
18-
.VolumeIcon.icns
19-
20-
# Directories potentially created on remote AFP share
21-
.AppleDB
22-
.AppleDesktop
23-
Network Trash Folder
24-
Temporary Items
25-
.apdisk
26-
### JetBrains template
27-
.idea
28-
29-
### Go template
30-
# Compiled Object files, Static and Dynamic libs (Shared Objects)
31-
*.o
32-
*.a
33-
*.so
34-
35-
# Folders
36-
_obj
37-
_test
38-
39-
# Architecture specific extensions/prefixes
40-
*.[568vq]
41-
[568vq].out
42-
43-
*.cgo1.go
44-
*.cgo2.c
45-
_cgo_defun.c
46-
_cgo_gotypes.go
47-
_cgo_export.*
48-
49-
_testmain.go
50-
51-
*.exe
52-
*.test
53-
*.prof
54-
# Created by .ignore support plugin (hsz.mobi)
1+
/ping-fastcgi

go.mod

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module github.com/slapers/ping-fastcgi
2+
3+
go 1.24.1
4+
5+
require (
6+
github.com/slapers/go-fastcgi-client v0.0.0-20120601132526-ef54a8d23d70
7+
github.com/urfave/cli v1.22.16
8+
)
9+
10+
require (
11+
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
12+
github.com/russross/blackfriday/v2 v2.1.0 // indirect
13+
)

go.sum

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
github.com/BurntSushi/toml v1.4.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
2+
github.com/cpuguy83/go-md2man/v2 v2.0.5/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
3+
github.com/cpuguy83/go-md2man/v2 v2.0.6 h1:XJtiaUW6dEEqVuZiMTn1ldk455QWwEIsMIJlo5vtkx0=
4+
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
5+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
6+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
7+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
8+
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
9+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
10+
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
11+
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
12+
github.com/slapers/go-fastcgi-client v0.0.0-20120601132526-ef54a8d23d70 h1:mzMbIRY0Ji+0uTbXzx44U7xFB72zjlsh9Q06G9R2GOY=
13+
github.com/slapers/go-fastcgi-client v0.0.0-20120601132526-ef54a8d23d70/go.mod h1:fmLavCeWVtL9I/mFP85/Nf18daKCl6+94z8RGbNecik=
14+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
15+
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
16+
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
17+
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
18+
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
19+
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
20+
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
21+
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
22+
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
23+
github.com/urfave/cli v1.22.16 h1:MH0k6uJxdwdeWQTwhSO42Pwr4YLrNLwBtg1MRgTqPdQ=
24+
github.com/urfave/cli v1.22.16/go.mod h1:EeJR6BKodywf4zciqrdw6hpCPk68JO9z5LazXZMn5Po=
25+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
26+
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
27+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
28+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
29+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)