On Fri, Nov 4, 2022 at 6:54 PM Canuto <testvari2...@gmail.com> wrote:
> I'm just starting out with go ... > I have searched for lights on this string but without success. > What does this sign mean " _, err " , what the underscore symbol means here ? > > func generateSalt() string { > randomBytes := make([]byte, 16) > _, err := rand.Read(randomBytes) > if err != nil { > return "" } The language specification is the best place where to look for such information: https://go.dev/ref/spec#Blank_identifier -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAA40n-WgGJ4uYQ1qG-JDATG06PTWu3D%3DEf-t-PtH_QGOnEr0kQ%40mail.gmail.com.