-
Notifications
You must be signed in to change notification settings - Fork 15
/
main.go.orig
60 lines (42 loc) · 983 Bytes
/
main.go.orig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package main
import "fmt"
<<<<<<< HEAD
func main(){
//primitive data types
//rune, byte = alias
//int, float32,string, bool
//Composite Data Types Maps
//array
// bracket = []
// braces/curly braces = {}
// parenthesis = ()
//var students [3]string
//fixed length
//same type
//index count start from 0
//0,1,2,3,4
//data set or data assign
//students[0]="Asgor"
//students[1]="Mainul"
//students[2]="Anonnya"
//[ ]
//fmt.Println(students)
//fmt.Println(len(students))
//data pull, data retrieve, data get
//fmt.Println(students[2])
//short hand way, string literals
//In computer science, a literal is a notation
//for representing a fixed value in source code
//implicit= ...
students := [...]string{"Asgor", "Mainul", "Anonnya", "Mostain", "Sumaiya"}
fmt.Println(students, len(students))
//slice
//map
//struct
}
=======
func main() {
fmt.Println("Hello Bangladesh")
fmt.Println("github local to remote")
}
>>>>>>> 7a52c93944fafce3cf182700c40abfb57ed7a14b