我目前正在玩Go,想知道定义数据类型的模式是什么。以Bencode为例并将其表示为Go数据结构。likeinHaskelldataBEncode=BIntInteger|BStringL.ByteString|BList[BEncode]|BDict(MapStringBEncode)inC,wecandosomethinglikethisstructBencoding;typedefstructListNode{structBencoding*cargo;structListNode*next;}ListNode;typedefstructDictNode{char*key;stru