mirror of
https://github.com/devproje/devproje.git
synced 2025-04-22 12:09:53 +09:00
96 lines
3.2 KiB
Markdown
96 lines
3.2 KiB
Markdown
```go
|
||
package main
|
||
|
||
import (
|
||
"fmt"
|
||
"encoding/json"
|
||
)
|
||
|
||
type Person struct {
|
||
Name string `json:"name"`
|
||
Age int `json:"age"`
|
||
}
|
||
|
||
func main() {
|
||
raw := []byte(`{"name":"Project_IO","age":"20"}`)
|
||
|
||
var data Person
|
||
err := json.Unmarshal(raw, &data)
|
||
if err != nil {
|
||
panic(err)
|
||
}
|
||
|
||
fmt.Printf("NAME: %s\nAGE: %s\n", data.Name, data.Age)
|
||
}
|
||
```
|
||
```bash
|
||
projecttl@fedora:~$ go run main.go
|
||
NAME: Project_IO
|
||
AGE: 20
|
||
projecttl@fedora:~$
|
||
```
|
||
<br/>
|
||
|
||
### <div align="center">I'm Project_IO, A backend developer 👨💻 working since 2015 🚀</div>
|
||
|
||
- 🔭 I’m currently working on [Project_IO's Official Workspace](https://github.com/project-official)
|
||
- 🌱 I’m currently learning Android, erlang, elixer
|
||
- ❓ Ask me about anything related to Linux, Minecraft Plugin
|
||
- ⚡ Fun fact:
|
||
- HTML is **not** programming language.<br/>
|
||
|
||
## Services
|
||
|
||
## Connect with me
|
||
<a href="https://github.com/devproje">
|
||
<img src="https://img.shields.io/badge/GitHub-181717?style=flat-square&logo=github&logoColor=white"/>
|
||
</a>
|
||
<a href="https://discord.gg/vVrrJ6jxvG">
|
||
<img src="https://img.shields.io/badge/Discord-5865F2?style=flat-square&logo=discord&logoColor=white"/>
|
||
</a>
|
||
<a href="https://www.youtube.com/channel/UCbFF-pr6prqOLUFbwJEZ16g">
|
||
<img src="https://img.shields.io/badge/YouTube-FF0000?style=flat-square&logo=youtube&logoColor=white">
|
||
</a>
|
||
<br/>
|
||
|
||
## Github Stats
|
||

|
||
<br/>
|
||

|
||
|
||
## Using Languages
|
||
<a href="https://en.cppreference.com/w/c">
|
||
<img src="https://img.shields.io/badge/C-A8B9CC?style=flat-square&logo=c&logoColor=white"/>
|
||
</a>
|
||
<a href="https://golang.org/doc">
|
||
<img src="https://img.shields.io/badge/Go-00ADD8?style=flat-square&logo=go&logoColor=white"/>
|
||
</a>
|
||
<a href="https://www.rust-lang.org/">
|
||
<img src="https://img.shields.io/badge/Rust-000000?style=flat-square&logo=Rust&logoColor=white"/>
|
||
</a>
|
||
<a href="https://kotlinlang.org/docs/home.html">
|
||
<img src="https://img.shields.io/badge/Kotlin-7F52FF?style=flat-square&logo=kotlin&logoColor=white"/>
|
||
</a>
|
||
<a href="https://www.scala-lang.org">
|
||
<img src="https://img.shields.io/badge/Scala-DC322F?style=flat-square&logo=scala&logoColor=white"/>
|
||
</a>
|
||
<a href="https://nodejs.org/en/docs">
|
||
<img src="https://img.shields.io/badge/Node.js-339933?style=flat-square&logo=Node.js&logoColor=white">
|
||
</a>
|
||
<a href="https://nextjs.org/docs/getting-started">
|
||
<img src="https://img.shields.io/badge/Next.js-000000?style=flat-square&logo=Next.js&logoColor=white"/>
|
||
</a>
|
||
</a>
|
||
<a href="https://www.docker.com/">
|
||
<img src="https://img.shields.io/badge/Docker-2496ED?style=flat-square&logo=Docker&logoColor=white"/>
|
||
</a>
|
||
<a href="https://sqlite.org/index.html">
|
||
<img src="https://img.shields.io/badge/SQLite-003B57?style=flat-square&logo=SQLite&logoColor=white"/>
|
||
</a>
|
||
<a href="https://www.mysql.com">
|
||
<img src="https://img.shields.io/badge/MySQL-4479A1?style=flat-square&logo=MySQL&logoColor=white"/>
|
||
</a>
|
||
<a href="https://mariadb.org/">
|
||
<img src="https://img.shields.io/badge/MariaDB-003545?style=flat-square&logo=MariaDB&logoColor=white"/>
|
||
</a>
|
||
<br/>
|