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))
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Config files for my GitHub profile.
Raajheer1/Raajheer1
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Config files for my GitHub profile.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published