Posts Archive Tags Categories
PostsArchiveTagsCategories

Golang

Yayu Wang  included in  category Programming_languages
 2022-03-01  2023-05-09  28 words   One minute 
Contents
  • Tricky
    • string convert
  • Fundamental
    • struct
      • new

Tricky

string convert

  • string to int
1
string := strconv.Itoa(int)
  • int to string
1
int, err := strconv.Atoi("string")

Fundamental

struct

new

1
var object StuctcName = StructName{Prop: value}
Updated on 2023-05-09
Read markdown
 Golang
 | Home
Regex
Powered by Hugo | Theme - DoIt
2019 - 2025 Yayu Wang | CC BY-NC 4.0