chore: make docsgen

This commit is contained in:
simlecode 2023-05-30 13:25:06 +08:00
parent 10130a32d7
commit 3bed440d2d
5 changed files with 11 additions and 8 deletions

View File

@ -86,6 +86,7 @@ func init() {
} }
ExampleValues[reflect.TypeOf(addr)] = addr ExampleValues[reflect.TypeOf(addr)] = addr
ExampleValues[reflect.TypeOf(&addr)] = &addr
pid, err := peer.Decode("12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf") pid, err := peer.Decode("12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf")
if err != nil { if err != nil {

Binary file not shown.

Binary file not shown.

View File

@ -4202,7 +4202,7 @@ Inputs:
Response: Response:
```json ```json
{ {
"Channel": "\u003cempty\u003e", "Channel": "f01234",
"From": "f01234", "From": "f01234",
"To": "f01234", "To": "f01234",
"ConfirmedAmt": "0", "ConfirmedAmt": "0",
@ -4233,7 +4233,7 @@ Inputs:
Response: Response:
```json ```json
{ {
"Channel": "\u003cempty\u003e", "Channel": "f01234",
"From": "f01234", "From": "f01234",
"To": "f01234", "To": "f01234",
"ConfirmedAmt": "0", "ConfirmedAmt": "0",
@ -4953,7 +4953,7 @@ Response:
}, },
"Nonce": 42, "Nonce": 42,
"Balance": "0", "Balance": "0",
"Address": "\u003cempty\u003e" "Address": "f01234"
} }
} }
``` ```
@ -5242,7 +5242,7 @@ Response:
}, },
"Nonce": 42, "Nonce": 42,
"Balance": "0", "Balance": "0",
"Address": "\u003cempty\u003e" "Address": "f01234"
} }
``` ```
@ -5985,6 +5985,7 @@ Response:
"SectorSize": 34359738368, "SectorSize": 34359738368,
"WindowPoStPartitionSectors": 42, "WindowPoStPartitionSectors": 42,
"ConsensusFaultElapsed": 10101, "ConsensusFaultElapsed": 10101,
"PendingOwnerAddress": "f01234",
"Beneficiary": "f01234", "Beneficiary": "f01234",
"BeneficiaryTerm": { "BeneficiaryTerm": {
"Quota": "0", "Quota": "0",

View File

@ -5576,7 +5576,7 @@ Inputs:
Response: Response:
```json ```json
{ {
"Channel": "\u003cempty\u003e", "Channel": "f01234",
"From": "f01234", "From": "f01234",
"To": "f01234", "To": "f01234",
"ConfirmedAmt": "0", "ConfirmedAmt": "0",
@ -5607,7 +5607,7 @@ Inputs:
Response: Response:
```json ```json
{ {
"Channel": "\u003cempty\u003e", "Channel": "f01234",
"From": "f01234", "From": "f01234",
"To": "f01234", "To": "f01234",
"ConfirmedAmt": "0", "ConfirmedAmt": "0",
@ -6390,7 +6390,7 @@ Response:
}, },
"Nonce": 42, "Nonce": 42,
"Balance": "0", "Balance": "0",
"Address": "\u003cempty\u003e" "Address": "f01234"
} }
} }
``` ```
@ -6730,7 +6730,7 @@ Response:
}, },
"Nonce": 42, "Nonce": 42,
"Balance": "0", "Balance": "0",
"Address": "\u003cempty\u003e" "Address": "f01234"
} }
``` ```
@ -7505,6 +7505,7 @@ Response:
"SectorSize": 34359738368, "SectorSize": 34359738368,
"WindowPoStPartitionSectors": 42, "WindowPoStPartitionSectors": 42,
"ConsensusFaultElapsed": 10101, "ConsensusFaultElapsed": 10101,
"PendingOwnerAddress": "f01234",
"Beneficiary": "f01234", "Beneficiary": "f01234",
"BeneficiaryTerm": { "BeneficiaryTerm": {
"Quota": "0", "Quota": "0",