I’m new in Go programming and I recently while following “Introducing Go by Caleb” I encountered with this error message package command-line-arguments is not a main package
Here’s the code I was trying to run -
package ammar
import "fmt"
func main() {
fmt.Println(true && true)
fmt.Println(true && false)
fmt.Println(true || true)
fmt.Println(true || false)
fmt.Println(!true)
}
Would be grateful if someone provides a solution? Thanks!