Go - Export struct
11 May 2023Go
在研究怎麼 Export struct 時,找到說 struct 名字要大寫,但改成大寫後卻出現下面的警告:
export struct field is unused
原來是 struct field 也要改成大寫,變成 exported fields!
Go
在研究怎麼 Export struct 時,找到說 struct 名字要大寫,但改成大寫後卻出現下面的警告:
export struct field is unused
原來是 struct field 也要改成大寫,變成 exported fields!
solidity
picoCTF
Go
ethernaut
blockchain
sql
react
smart-contract
typescript
solana
linux
javascript
css
Linux
ubuntu
next.js
jekyll
hardhat
golang
ethers
ethereum
Secureum
Rust
zsh
wallet
vscode
truffle
rpc
notion
notes
nodejs
nextjs
mocha
html
github
git
geth
express
eslint
cloudflare
Vim
DSA