简体   繁体   中英

How to make LiteIDE display a user-friendly watch string for a *big.Int (or your type)?

I'm starting my journey in programming with Google Go. Currently I use LiteIDE as my primary IDE.

I've learned how to debug and watch variables, however when add a watch for a value of *big.Int (from math/big package), what I see is 0xc20003e740 (Value) and math/big.Int * (Type).

How do I make LightIDE display value.String() or fmt.Sprintf("%v", value) instead?

I don't think what you are requesting is currently possible. You should consider filing a feature request, the creator of LiteIDE is extremely responsive: https://github.com/visualfc/liteide/issues?state=open

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM