8000 feat: Add support of new types (#66) · obalunenko/getenv@463dd31 · GitHub
[go: up one dir, main page]

Skip to content

Commit 463dd31

Browse files
authored
feat: Add support of new types (#66)
* feat: Add support of int32 * fix: Golangci config * chore: Bump go-tools image version to v0.5.0 * fix: goreleaser scripts * feat: Add []int32 support * docs: Update readme * feat: Add int8 support * feat: Add []int8 support
1 parent 876d08e commit 463dd31

File tree

12 files changed

+1080
-34
lines changed

12 files changed

+1080
-34
lines changed

.golangci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ linters:
5656
disable-all: true
5757
enable:
5858
- bodyclose
59-
- deadcode
6059
- depguard
6160
- dogsled
6261
- dupl
@@ -83,13 +82,11 @@ linters:
8382
- nolintlint
8483
- rowserrcheck
8584
- staticcheck
86-
- structcheck
8785
- stylecheck
8886
- typecheck
8987
- unconvert
9088
- unparam
9189
- unused
92-
- varcheck
9390
- whitespace
9491
- revive
9592
- wsl

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VERSION ?= $(shell git describe --tags $(git rev-list --tags --max-count=1))
66
APP_NAME?=getenv
77
SHELL := env APP_NAME=$(APP_NAME) $(SHELL)
88

9-
GOTOOLS_IMAGE_TAG?=v0.4.3
9+
GOTOOLS_IMAGE_TAG?=v0.5.0
1010
SHELL := env GOTOOLS_IMAGE_TAG=$(GOTOOLS_IMAGE_TAG) $(SHELL)
1111

1212
COMPOSE_TOOLS_FILE=deployments/docker-compose/go-tools-docker-compose.yml

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![Go Reference](https://pkg.go.dev/badge/github.com/obalunenko/getenv.svg)](https://pkg.go.dev/github.com/obalunenko/getenv)
33
[![Go Report Card](https://goreportcard.com/badge/github.com/obalunenko/getenv)](https://goreportcard.com/report/github.com/obalunenko/getenv)
44
[![codecov](https://codecov.io/gh/obalunenko/getenv/branch/master/graph/badge.svg)](https://codecov.io/gh/obalunenko/getenv)
5-
![coverbadger-tag-do-not-edit](https://img.shields.io/badge/coverage-96.48%25-brightgreen?longCache=true&style=flat)
5+
![coverbadger-tag-do-not-edit](https://img.shields.io/badge/coverage-96.45%25-brightgreen?longCache=true&style=flat)
66
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=obalunenko_getenv&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=obalunenko_getenv)
77

88
# getenv
@@ -16,6 +16,10 @@ Types supported:
1616
- []string
1717
- int
1818
- []int
19+
- int8
20+
- []int8
21+
- int32
22+
- []int32
1923
- int64
2024
- []int64
2125
- uint64

0 commit comments

Comments
 (0)
0