73a00c89ff
This commit tries to detect if users can render colors in their terminal and only enables color logs if that is true. It also adds no-color.org's NO_COLOR env var support to allow it to be disabled.
26 lines
862 B
Modula-2
26 lines
862 B
Modula-2
module github.com/juanfont/headscale
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
github.com/AlecAivazis/survey/v2 v2.0.5
|
|
github.com/efekarakus/termcolor v1.0.1 // indirect
|
|
github.com/gin-gonic/gin v1.7.2
|
|
github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b
|
|
github.com/klauspost/compress v1.13.1
|
|
github.com/lib/pq v1.10.2 // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.7 // indirect
|
|
github.com/rs/zerolog v1.23.0 // indirect
|
|
github.com/spf13/cobra v1.1.3
|
|
github.com/spf13/viper v1.8.1
|
|
github.com/tailscale/hujson v0.0.0-20200924210142-dde312d0d6a2
|
|
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
gorm.io/datatypes v1.0.1
|
|
gorm.io/driver/postgres v1.1.0
|
|
gorm.io/driver/sqlite v1.1.4
|
|
gorm.io/gorm v1.21.11
|
|
inet.af/netaddr v0.0.0-20210603230628-bf05d8b52dda
|
|
tailscale.com v1.10.0
|
|
)
|