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
|
||||
privileged: true
|
||||
settings:
|
||||
repo: git.faercol.me/go-web-template
|
||||
repo: git.faercol.me/http-boot-server
|
||||
tags: latest
|
||||
dry_run: true
|
||||
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 ./...
|
||||
|
||||
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
|
||||
|
|
@ -7,9 +7,9 @@ import (
|
|||
"os/signal"
|
||||
"time"
|
||||
|
||||
"git.faercol.me/faercol/go-mod-template/template/config"
|
||||
"git.faercol.me/faercol/go-mod-template/template/logger"
|
||||
"git.faercol.me/faercol/go-mod-template/template/server"
|
||||
"git.faercol.me/faercol/http-boot-server/bootserver/config"
|
||||
"git.faercol.me/faercol/http-boot-server/bootserver/logger"
|
||||
"git.faercol.me/faercol/http-boot-server/bootserver/server"
|
||||
)
|
||||
|
||||
const stopTimeout = 10 * time.Second
|
|
@ -8,7 +8,7 @@ import (
|
|||
"net/http"
|
||||
"os"
|
||||
|
||||
"git.faercol.me/faercol/go-mod-template/template/config"
|
||||
"git.faercol.me/faercol/http-boot-server/bootserver/config"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
Loading…
Reference in a new issue