package main
import (
"encoding/json"
"fmt"
)
type Human struct {
Name string `json:"name"`
Pronouns []string `json:"pronouns"`
Education string `json:"education"`
Research string `json:"research"`
StudentOrgs string `json:"student_organizations"`
Description string `json:"description"`
Aliases []string `json:"aliases"`
Skills map[string][]interface{} `json:"skills"`
Endpoints map[string]map[string]string `json:"endpoints"`
Hobbies []string `json:"hobbies"`
}
func main() {
me := Human{
Name: fmt.Sprintf("Raaj %s Patel", "T"),
Pronouns: []string{"he", "him"},
Education: "Electrical Engineering B.S. @ Texas A&M University",
Research: "Computer Engineering",
StudentOrgs: "Formula SAE Electric",
Description: "Currently working as a contract software engineer. Texas A&M Formula SAE EV Battery Subteam Member '24.",
Aliases: []string{"Raajheer1", "Raaj Patel", "Raaj"},
Skills: map[string][]interface{}{
"go": {
"Gin", "Gorm", "gRPC",
},
"python": {
"BeautifulSoup", "scikit-learn", "TensorFlow",
},
"javascript": {
"NodeJS", "VueJS", "Typescript",
},
"c++": {},
"html&css": {
"Bootstrap4", "SCSS", "CSS", "TailwindCSS",
},
"devops": {
"K3s", "Docker", "Github Actions", "Kustomize", "ArgoCD",
},
"other": {
"MySQL", "MongoDB", "RabbitMQ",
},
},
Endpoints: map[string]map[string]string{
"Discord": {
"username": "Raaj Patel",
"discriminator": "7762",
},
"Email": {
"username": "the",
"domain": "raajpatel.dev",
},
},
Hobbies: []string{
"Programming", "Aviation", "Semiconductors", "Cryptography",
},
}
user, err := json.MarshalIndent(me, "", " ")
if err != nil {
fmt.Printf("Uh oh! Something went wrong... Maybe '%s' is not of the Human Species!\n", me.Name)
return
}
fmt.Println(string(user))
}
Highlights
- Pro
Popular repositories Loading
-
-
obsninja
obsninja Public archiveForked from mrmookie/obsninja
OBS Ninja lets you bring remote video feeds into OBS via WebRTC
CSS
-
-
Ford-Hackathon-2021
Ford-Hackathon-2021 PublicFord Smart Vehicle Connectively Challenge Hackathon 2021
JavaScript
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.