Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yassinebenaid committed Jul 5, 2023
1 parent 002f022 commit a78266f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Goenv

<div align="center">

![goenvirement](https://github.com/Joodek/goenvirement/assets/101285507/9e67c7fa-a361-4670-a440-1b7ac8fa0067)
Expand Down Expand Up @@ -165,7 +166,7 @@ func main(){

```

so far everything looks amazing, let's take this example :
so far everything looks amazing, but, look at this example :

```bash

Expand All @@ -174,11 +175,10 @@ KEY_2="value2-$KEY_3"
KEY_3="value3-$KEY_1"
```

as you notice here, we are tring to read a key that will never be reached, this will introduce an infinit loop, but luckly, we will never let that happen, the above example will panic with the folowing error :
as you notice here, we are tring to read a key that will never be reached, this example will return the folowing error :

```bash
2023/07/04 20:31:40 recursion detected : trying to read KEY_2 by KEY_1
panic: recursion detected : trying to read KEY_2 by KEY_1
recursion detected : trying to read KEY_2 by KEY_1
```

## Author
Expand Down

0 comments on commit a78266f

Please sign in to comment.