Skip to content
This repository was archived by the owner on Jul 7, 2026. It is now read-only.

Commit f964f73

Browse files
committed
refactor(go module): rename to fix spelink mistaek
1 parent 09901fd commit f964f73

7 files changed

Lines changed: 278 additions & 10 deletions

File tree

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"gopls": {
3-
"local": "go.jlucktay.dev/gopukku"
3+
"local": "go.jlucktay.dev/goppuku"
44
}
55
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# gopukku
1+
# goppuku
22

3-
[![Build Status](https://cloud.drone.io/api/badges/jlucktay/gopukku/status.svg)](https://cloud.drone.io/jlucktay/gopukku)
3+
[![Build Status](https://cloud.drone.io/api/badges/jlucktay/goppuku/status.svg)](https://cloud.drone.io/jlucktay/goppuku)
44

55
Have a VM put itself down if a given condition is met.

cmd/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cmd
33
import "time"
44

55
type configRcon struct {
6-
BackoffMin time.Duration `env:"GOPUKKU_BACKOFF_MIN_DURATION" env-default:"10s" env-description:"RCON backoff minimum duration"`
7-
BackoffMax time.Duration `env:"GOPUKKU_BACKOFF_MAX_DURATION" env-default:"5m" env-description:"RCON backoff maximum duration"`
8-
BackoffFactor float64 `env:"GOPUKKU_BACKOFF_FACTOR" env-default:"1.2" env-description:"RCON backoff factor"`
6+
BackoffMin time.Duration `env:"GOPPUKU_BACKOFF_MIN_DURATION" env-default:"10s"`
7+
BackoffMax time.Duration `env:"GOPPUKU_BACKOFF_MAX_DURATION" env-default:"5m"`
8+
BackoffFactor float64 `env:"GOPPUKU_BACKOFF_FACTOR" env-default:"1.2"`
99
}

cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ import (
99
var version, commit, date, builtBy string //nolint:gochecknoglobals
1010

1111
func versionDetails() string {
12-
return fmt.Sprintf("gopukku %s built from commit %s with %s on %s by %s.",
12+
return fmt.Sprintf("goppuku %s built from commit %s with %s on %s by %s.",
1313
version, commit, runtime.Version(), date, builtBy)
1414
}

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
module go.jlucktay.dev/gopukku
1+
module go.jlucktay.dev/goppuku
22

33
go 1.14
44

55
require (
6-
cloud.google.com/go v0.43.0
6+
cloud.google.com/go v0.61.0
77
cloud.google.com/go/logging v1.0.0
88
github.com/gtaylor/factorio-rcon v0.0.0-20170109054031-61bdfe779ea6
99
github.com/ilyakaznacheev/cleanenv v1.2.4

go.sum

Lines changed: 268 additions & 0 deletions
Large diffs are not rendered by default.

gopukku.go renamed to goppuku.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"os"
66

7-
"go.jlucktay.dev/gopukku/cmd"
7+
"go.jlucktay.dev/goppuku/cmd"
88
)
99

1010
func main() {

0 commit comments

Comments
 (0)