// 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", "Rust", "GO", "Python", "Assembly"},
Interests: []string{"Cybersecurity", "Linux Kernel", "Optimization"},
Tools: []string{"Neovim", "Vim"},
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)
}
💖
Electromagica💕Girl✨
Translating open source projects
Highlights
Pinned Loading
-
-
Qiskit/qiskit
Qiskit/qiskit PublicQiskit is an open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives.
-
-
huggingface/transformers
huggingface/transformers Public🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
-
huggingface/huggingface_hub
huggingface/huggingface_hub PublicThe official Python client for the Huggingface Hub.
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.