i have 2 query
i have 2 query
selDB, err := db.Query(`SELECT grup_master_code.nama_group FROM grup_master_code SELECT master_code.item_code FROM master_code`)
and when i scan that query, i have error
sql: expected 1 destination arguments in Scan, not 2
var nama_grup, item_code string err = selDB.Scan(&nama_grup, &item_code)
A brief introduction to Go for programmers who haven't used Go before: Why use it? The standard library. Why Go? Go has become very popular over the past few years, partly because of the simplicity of the language, but perhaps more importantly because of the excellent tooling.
Go provides you high performance like C/C++, super efficient concurrency handling like Java and fun to code like Python/Perl. Go with Golang and why go is the best programming language in the world and Why should you learn Go Language?
Well both Rust and Go provide amazing performance. Should you write you’re next big thing with Rust or with Go? Go is fast and powerful, but it avoids bogging the developer down, focusing instead on simplicity and uniformity. Rust. If on the other hand, wringing out every last ounce of performance is a necessity, then Rust should be your choice. Rust is more of a competitor to C++ than it is with Go.
Welcome to this course on Go Programming Language Tutorial. Go is an open source programming language which was originally developed by Google. In this Go Tutorial we will Learn Go from the Basics with Code Examples. Go is a statically-typed language. Go has a syntax similar to C. Go has built-in concurrency.