From 00dfc937cec1b7eb9ebb1024fae5228ebf9f0341 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Wed, 11 Feb 2026 22:50:27 +0700 Subject: cmd/ciigo: add option to set base path and shutdown idle duration The `-base-path` option set the URL prefix for serving HTTP request. This allow serving the content under the prefix other than "/". The `-shutdown-idle` option set the duration when server will stop accepting new connections and shutting down. This option can be helpful to reduce the resources on local environment. --- go.mod | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index c2fa4aa..757b3eb 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ -// SPDX-FileCopyrightText: 2019 Shulhan // SPDX-License-Identifier: GPL-3.0-or-later +// SPDX-FileCopyrightText: 2019 Shulhan module git.sr.ht/~shulhan/ciigo @@ -7,7 +7,7 @@ go 1.25.0 require ( git.sr.ht/~shulhan/asciidoctor-go v0.7.3 - git.sr.ht/~shulhan/pakakeh.go v0.61.0 + git.sr.ht/~shulhan/pakakeh.go v0.61.1-0.20260211152820-e5a9e1e5314a github.com/yuin/goldmark v1.7.16 github.com/yuin/goldmark-meta v1.1.0 ) @@ -15,12 +15,12 @@ require ( require ( github.com/kr/pretty v0.3.1 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect - golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect - golang.org/x/mod v0.32.0 // indirect - golang.org/x/net v0.49.0 // indirect + golang.org/x/exp v0.0.0-20260209203927-2842357ff358 // indirect + golang.org/x/mod v0.33.0 // indirect + golang.org/x/net v0.50.0 // indirect golang.org/x/sync v0.19.0 // indirect golang.org/x/sys v0.41.0 // indirect - golang.org/x/tools v0.41.0 // indirect + golang.org/x/tools v0.42.0 // indirect gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/yaml.v2 v2.4.0 // indirect ) -- cgit v1.3