Open xlab opened 5 years ago
You can use FieldList from https://github.com/xlab/structwalk for this kind of stuff: https://github.com/mrmiguu/coco/blob/e51861ba64cb68c40c4abda2cce111872c47fd30/coco.go#L238
FieldList
We can implement MethodList as well.
MethodList
P.s. Cool project, ty
You can use
FieldList
from https://github.com/xlab/structwalk for this kind of stuff: https://github.com/mrmiguu/coco/blob/e51861ba64cb68c40c4abda2cce111872c47fd30/coco.go#L238We can implement
MethodList
as well.P.s. Cool project, ty