()
| 3 | import "fmt" |
| 4 | |
| 5 | func ExampleDecodeAddress() { |
| 6 | RawAddressList := []string{ |
| 7 | "addr1v9wa6entm75duchtu50mu6u6hkagdgqzaevt0cwryaw3pnca870vt", |
| 8 | "Ae2tdPwUPEZCdHLQP8Nke2AogJ7VgGiHbJDV3N1mWyQxy5AhwGgihL44t8w", |
| 9 | "addr1q87ywcqelrrm9zrn4f9v5te2ss2w6f0j4ca39pwhsgxnupuec8u08zuyfu64xecytwcuc8nm6xkn0xj2sqx7m7g07fqqf96uvu", |
| 10 | "DdzFFzCqrht7FAf8MpryP1p8sgkmFRUnDpifnnu4ZxpBjbCTSDwJVAaDsDqrC7SLYFx8fUrDcNNsD4AMiUgg2wGywTVpcfB1F3AHrGkv", |
| 11 | } |
| 12 | |
| 13 | for _, address := range RawAddressList { |
| 14 | got := MustDecodeAddress(address).String() |
| 15 | fmt.Println(got == address) |
| 16 | } |
| 17 | |
| 18 | // Output: |
| 19 | // true |
| 20 | // true |
| 21 | // true |
| 22 | // true |
| 23 | } |
nothing calls this directly
no test coverage detected