Simple Kimai terminal client
strfmt | ||
.goreleaser.yml | ||
go.mod | ||
go.sum | ||
kimchi.go | ||
LICENSE | ||
README.md |
kimchi
Simple Kimai terminal client 🤟
Usage
- Grab a binary from
dist
that matches your OS - Download and
chmod +x
it kimchi -h
to see the help output
Hacking
go build -v .
to buildgo run kimchi.go
to test quickly- Use
export DEBUG=1
to see every request/response
Release
goreleaser release --snapshot --rm-dist
git add . && git commit -m "release: new binaries" && git push
Forks
Had to fork strfmt
due to go-openapi/strfmt#92
.
Also had to apply this diff:
diff --git a/strfmt/time.go b/strfmt/time.go
index 748ca40..5dab792 100644
--- a/strfmt/time.go
+++ b/strfmt/time.go
@@ -83,7 +83,8 @@ var (
DateTimeFormats = []string{RFC3339Micro, RFC3339MicroNoColon, RFC3339Millis, RFC3339MillisNoColon, time.RFC3339, time.RFC3339Nano, ISO8601LocalTime, ISO8601PlusTimezone, ISO8601TimeWithReducedPrecision, ISO8601TimeWithReducedPrecisionLocaltime, ISO8601TimeUniversalSortableDateTimePattern}
// MarshalFormat sets the time resolution format used for marshaling time (set to milliseconds)
- MarshalFormat = RFC3339Millis
+ // MarshalFormat = RFC3339Millis
+ MarshalFormat = ISO8601LocalTime
// NormalizeTimeForMarshal provides a normalization function on time befeore marshalling (e.g. time.UTC).
// By default, the time value is not changed.