Init project

This commit is contained in:
Melora Hugues 2023-07-23 10:54:49 +02:00
parent e3fc4bbc6d
commit b8bb280d0a
10 changed files with 10 additions and 10 deletions

View file

@ -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:

View file

@ -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

View file

@ -7,4 +7,4 @@ test:
go test -v ./...
run: build
./build/template
./build/boot_server

View file

@ -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

View file

@ -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

View file

@ -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"
)