* fix lint issue

This commit is contained in:
lxowalle 2026-03-10 16:35:06 +08:00
parent 2858c3e120
commit c09f009d68

View file

@ -7,10 +7,11 @@ import (
// Build-time variables injected via ldflags during build process. // Build-time variables injected via ldflags during build process.
// These are set by the Makefile or .goreleaser.yaml using the -X flag: // These are set by the Makefile or .goreleaser.yaml using the -X flag:
// -X github.com/sipeed/picoclaw/pkg/config.Version=<version> //
// -X github.com/sipeed/picoclaw/pkg/config.GitCommit=<commit> // -X github.com/sipeed/picoclaw/pkg/config.Version=<version>
// -X github.com/sipeed/picoclaw/pkg/config.BuildTime=<timestamp> // -X github.com/sipeed/picoclaw/pkg/config.GitCommit=<commit>
// -X github.com/sipeed/picoclaw/pkg/config.GoVersion=<go-version> // -X github.com/sipeed/picoclaw/pkg/config.BuildTime=<timestamp>
// -X github.com/sipeed/picoclaw/pkg/config.GoVersion=<go-version>
var ( var (
Version = "dev" // Default value when not built with ldflags Version = "dev" // Default value when not built with ldflags
GitCommit string // Git commit SHA (short) GitCommit string // Git commit SHA (short)