~maestn/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH mwah] lint: condence if-err block

Details
Message ID
<20230321193907.28468-1-sol@solfisher.com>
DKIM signature
missing
Download raw message
Patch: +1 -3
---
great job on your go project :3 i'm proud of u

 main.go | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/main.go b/main.go
index f9cc017..f612c5d 100644
--- a/main.go
+++ b/main.go
@@ -54,10 +54,8 @@ func main() {
	})
	http.HandleFunc("/read", fileSend)
	http.HandleFunc("/edit", editFile)
	err := http.ListenAndServe("localhost:8080", nil)
	if err != nil {
	if err := http.ListenAndServe("localhost:8080", nil); err != nil {
		log.Fatal("Error Starting the HTTP Server : ", err)
		return
	}

}
-- 
2.39.2
Details
Message ID
<3102f900-ac58-b384-4498-b38c0cb6cf2a@gmail.com>
In-Reply-To
<20230321193907.28468-1-sol@solfisher.com> (view parent)
DKIM signature
missing
Download raw message
hi sol :)

thanks so much for the contribution, much appreciated

~maestn
Reply to thread Export thread (mbox)