(input []byte)
| 197 | } |
| 198 | |
| 199 | func bytesToHexString(input []byte) string { |
| 200 | hexString := "0x" |
| 201 | if input != nil { |
| 202 | for _, b := range input { |
| 203 | hexString += fmt.Sprintf("%02x", b) |
| 204 | } |
| 205 | } |
| 206 | return hexString |
| 207 | } |
| 208 | |
| 209 | func DateToInt32(localDate time.Time) (int32, error) { |
| 210 | if localDate.IsZero() { |
no outgoing calls
searching dependent graphs…