treewide: rename to hakurei

Fortify makes little sense for a container tool.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-06-25 03:59:52 +09:00
parent 3992073212
commit 87e008d56d
137 changed files with 1044 additions and 1098 deletions

23
internal/hlog/verbose.go Normal file
View File

@@ -0,0 +1,23 @@
package hlog
import (
"log"
"sync/atomic"
)
var verbose = new(atomic.Bool)
func Load() bool { return verbose.Load() }
func Store(v bool) { verbose.Store(v) }
func Verbosef(format string, v ...any) {
if verbose.Load() {
log.Printf(format, v...)
}
}
func Verbose(v ...any) {
if verbose.Load() {
log.Println(v...)
}
}