mmcgrana / gobyexample

Go by Example
https://gobyexample.com
7.16k stars 1.26k forks source link

Add the shell prompt/command to custom-errors.sh #519

Closed johnd closed 5 months ago

johnd commented 5 months ago

The shell entry for custom-errors is missing the shell prompt line. Small change, but nice for consistency!

johnd commented 5 months ago

I had completely missed it there despite working through the examples back-to-back! I've added it in there and double checked all the other examples and they all seem to be fine.

EmNudge commented 4 months ago

In both these examples, shouldn't the prompt be custom-errors.go and not custom-errors.sh?

eliben commented 4 months ago

In both these examples, shouldn't the prompt be custom-errors.go and not custom-errors.sh?

Good catch! Would you like to send a PR to fix this?