Init project
This commit is contained in:
parent
e3fc4bbc6d
commit
b8bb280d0a
10 changed files with 10 additions and 10 deletions
|
@ -21,7 +21,7 @@ steps:
|
||||||
image: thegeeklab/drone-docker-buildx
|
image: thegeeklab/drone-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
settings:
|
settings:
|
||||||
repo: git.faercol.me/go-web-template
|
repo: git.faercol.me/http-boot-server
|
||||||
tags: latest
|
tags: latest
|
||||||
dry_run: true
|
dry_run: true
|
||||||
platforms:
|
platforms:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# go-web-template
|
# HTTP boot server
|
||||||
|
|
||||||
[![Build Status](https://drone.faercol.me/api/badges/faercol/go-web-template/status.svg)](https://drone.faercol.me/faercol/go-web-template)
|
[![Build Status](https://drone.faercol.me/api/badges/faercol/http-boot-server/status.svg)](https://drone.faercol.me/faercol/http-boot-server)
|
||||||
|
|
||||||
Simple template for Go modules with a Web server
|
Simple HTTP server to select boot options
|
|
@ -7,4 +7,4 @@ test:
|
||||||
go test -v ./...
|
go test -v ./...
|
||||||
|
|
||||||
run: build
|
run: build
|
||||||
./build/template
|
./build/boot_server
|
|
@ -1,4 +1,4 @@
|
||||||
module git.faercol.me/faercol/go-mod-template/template
|
module git.faercol.me/faercol/http-boot-server/bootserver
|
||||||
|
|
||||||
go 1.20
|
go 1.20
|
||||||
|
|
|
@ -7,9 +7,9 @@ import (
|
||||||
"os/signal"
|
"os/signal"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.faercol.me/faercol/go-mod-template/template/config"
|
"git.faercol.me/faercol/http-boot-server/bootserver/config"
|
||||||
"git.faercol.me/faercol/go-mod-template/template/logger"
|
"git.faercol.me/faercol/http-boot-server/bootserver/logger"
|
||||||
"git.faercol.me/faercol/go-mod-template/template/server"
|
"git.faercol.me/faercol/http-boot-server/bootserver/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
const stopTimeout = 10 * time.Second
|
const stopTimeout = 10 * time.Second
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"git.faercol.me/faercol/go-mod-template/template/config"
|
"git.faercol.me/faercol/http-boot-server/bootserver/config"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue