mercari / hcledit

Go package to edit HCL configuration
MIT License
44 stars 14 forks source link

Fix readme example source codes #46

Closed KeisukeYamashita closed 3 years ago

KeisukeYamashita commented 3 years ago

WHAT

As title. I fixed the example source code hcledit.Read to hcledit.ReadFile.

WHY

I think ReadFile is correct when we pass the filename → Implementation: https://github.com/mercari/hcledit/blob/fix-readme-example-source-codes/read.go#L21