// maximizemaxwell.go
package main
import (
"fmt"
"reflect"
)
type currentStatus struct {
Name string
ProgrammingLang []string
Interests []string
Tools []string
OS []string
}
func newCurrentStatus() *currentStatus {
return ¤tStatus{
Name: "Max(E.EUN)",
ProgrammingLang: []string{"C", "Cpp", "GO", "Python", "Assembly"},
Interests: []string{"Cybersecurity", "Linux Kernel", "NLP"},
Tools: []string{"Neovim", "Vim", "Vscode", "JetBrains"},
OS: []string{"Arch", "Ubuntu", "Kali"},
}
}
func printStatus(status *currentStatus) {
v := reflect.ValueOf(*status)
t := v.Type()
fmt.Println("Hi, I am", status.Name)
for i := 0; i < v.NumField(); i++ {
fieldName := t.Field(i).Name
if fieldName == "Name" {
continue
}
fmt.Printf("%s: %v\n", fieldName, v.Field(i).Interface())
}
}
func main() {
status := newCurrentStatus()
printStatus(status)
}
-
Cybersecurity
-
Linux Kernel
-
Neovim, Vim
-
AI
ML
,DL
,NLP
-
Open source projects
- Translation (
EN
<->KO
)
- Translation (
- Language:
EN
,KO
- Email:
personal
: ewhk9887@gmail.com
Platform | Profile |
---|---|
Baekjoon | |
LeetCode |