Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirecl committed Jul 20, 2023
1 parent 7c583d1 commit f138599
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Expand Up @@ -4,7 +4,7 @@

Minimalistic configuration reader

[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go)
[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go)
[![GoDoc](https://godoc.org/github.com/ilyakaznacheev/cleanenv?status.svg)](https://godoc.org/github.com/ilyakaznacheev/cleanenv)
[![Go Report Card](https://goreportcard.com/badge/github.com/ilyakaznacheev/cleanenv)](https://goreportcard.com/report/github.com/ilyakaznacheev/cleanenv)
[![Coverage Status](https://codecov.io/github/ilyakaznacheev/cleanenv/coverage.svg?branch=master)](https://codecov.io/gh/ilyakaznacheev/cleanenv)
Expand All @@ -24,18 +24,18 @@ This is a simple configuration reading tool. It just does the following:

- [Installation](#installation)
- [Usage](#usage)
- [Read Configuration](#read-configuration)
- [Read Environment Variables Only](#read-environment-variables-only)
- [Update Environment Variables](#update-environment-variables)
- [Description](#description)
- [Read Configuration](#read-configuration)
- [Read Environment Variables Only](#read-environment-variables-only)
- [Update Environment Variables](#update-environment-variables)
- [Description](#description)
- [Model Format](#model-format)
- [Supported types](#supported-types)
- [Custom Functions](#custom-functions)
- [Custom Value Setter](#custom-value-setter)
- [Custom Value Update](#custom-value-update)
- [Custom Value Setter](#custom-value-setter)
- [Custom Value Update](#custom-value-update)
- [Supported File Formats](#supported-file-formats)
- [Integration](#integration)
- [Flag](#flag)
- [Flag](#flag)
- [Examples](#examples)
- [Contribution](#contribution)
- [Thanks](#thanks)
Expand Down Expand Up @@ -93,7 +93,7 @@ This will do the following:

Sometimes you don't want to use configuration files at all, or you may want to use `.env` file format instead. Thus, you can limit yourself with only reading environment variables:

```go
```go
import "github.com/ilyakaznacheev/cleanenv"

type ConfigDatabase struct {
Expand Down Expand Up @@ -196,6 +196,7 @@ There are following supported types:
- any type that implements `encoding.TextUnmarshaler`;
- any type implementing `cleanenv.Setter` interface.


## Custom Functions

To enhance package abilities you can use some custom functions.
Expand Down Expand Up @@ -251,7 +252,6 @@ There are several most popular config file formats supported:
- ENV (`.env`)

**Note**:

- while using `.env` file the library will set corresponding data to process environment variables.
It will override existing variables with the same keys in the process environment.

Expand Down

0 comments on commit f138599

Please sign in to comment.