Skip to content

Commit

Permalink
README.md: Remove indentation in example code
Browse files Browse the repository at this point in the history
The indentation in the go example code mixes tabs and spaces.

Remove the indentation completely since the indentation is not needed.

Signed-off-by: Benjamin Drung <[email protected]>
  • Loading branch information
bdrung committed May 23, 2019
1 parent a107ef4 commit 50384d0
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
Expand Up @@ -18,8 +18,8 @@ The procfs library is organized by packages based on whether the gathered data i
point is initialized, and then the stat information is read.

```go
fs, err := procfs.NewFS("/proc")
stats, err := fs.NewStat()
fs, err := procfs.NewFS("/proc")
stats, err := fs.NewStat()
```

## Building and Testing
Expand All @@ -36,8 +36,8 @@ ensure the `fixtures` directory is up to date by removing the existing directory
extracting the ttar file using `make fixtures/.unpacked` or just `make test`.

```bash
rm -rf fixtures
make test
rm -rf fixtures
make test
```

Next, make the required changes to the extracted files in the `fixtures` directory. When
Expand Down

0 comments on commit 50384d0

Please sign in to comment.