Skip to content

Instantly share code, notes, and snippets.

View amireshoon's full-sized avatar
🎲

Amirhossein Meydani amireshoon

🎲
View GitHub Profile
@amireshoon
amireshoon / pnums.go
Created August 14, 2020 11:46
Reading input
package main
import "bufio"
func main() {
reader := bufio.NewReader(os.Stdin)
a, err := reader.ReadString('\n')
if err != nil {
panic("input error")
}
@amireshoon
amireshoon / pnums.go
Last active August 14, 2020 11:43
Creating file and main content
package main
func main() {
}