BLOG

Latest Articles

Golang return error and handle [Best Practices]

We can return errors in golanf func and then handle errors effectively using Casting Errors, Error wrapping mechanism, and Panic, defer and recover

By admin · 5 min read · GOLANG Solutions

Golang read multiple lines from stdin [SOLVED]

We can use fmt.Scan(), bufio.Reader(), bufio.Scanner() function in golang to read multiple lines from STDIN input with examples.

By tuannguyen · 4 min read · GOLANG Solutions

Golang remove backslash from string [SOLVED]

We can use strings.replace() and strings.replaceall() function to remove backslash from string in golang by replacing backslash with empty character

By tuannguyen · 3 min read · GOLANG Solutions