What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-21 23:20:07
go language while loop
package main import "fmt" func main(){ //only one type of look in golang. A for loop. to make a while loop simple //emit all statments but the bools var x int = 10 for x > 0{ fmt.Println(x)//this will print all numbers fro... Add solution -
Go 2021-10-13 23:51:04
init function in golang
// initializing variables var ( home = os.Getenv("HOME") user = os.Getenv("USER") gopath = os.Getenv("GOPATH") ) func init() { fmt.Printf("%v\n", home) fmt.Printf("%v\n", user) fmt.Printf("... Add solution -
Other 2021-10-13 06:31:03
which programming language should i learn first
Depends on what you want to do. You can do whatever with whatever. Here is a list :- 1. Web developement - HTML,CSS,JS,Golang 2. App developement - Java,Kotlin,Dart 3. Game Developement - c,C++,C# 4. Computer Graphics - Opengl,Webgl 5. Scientific Computin... Add solution -
Go 2021-10-10 06:59:10
Golang HTTP Server
// Code by Divyanshu Shekhar - https://divyanshushekhar.com/golang-http-server/ // Golang HTTP Server package main import ( "fmt" "log" "net/http" ) const ( // Host name of the HTTP Server Host = "localhost"... Add solution -
Other 2021-10-02 01:19:03
golang go func
package main import "fmt" func basicFunction() { fmt.Println("basic function golang") } var variableFunction = func() { fmt.Println("basic function golang with variable function") } func parameterFunc(a, b int) { addit... Add solution -
Go 2021-09-30 06:56:03
go online compiler
Check this compiler: https://play.golang.org/ Add solution