Skip to content

Instantly share code, notes, and snippets.

View hitesh-goel's full-sized avatar
🏠
Working from home

Hitesh Goel hitesh-goel

🏠
Working from home
  • New Delhi (India)
  • 01:31 (UTC +05:30)
View GitHub Profile
type Foo struct {
A int `tag1:"First Tag" tag2:"Second Tag"`
B string
}
func main() {
sl := []int{1, 2, 3}
greeting := "hello"
greetingPtr := &greeting
f := Foo{A: 10, B: "Salutations"}