(b []byte)
| 133 | } |
| 134 | |
| 135 | func nullStringBytes(b []byte) interface{} { |
| 136 | if len(b) == 0 { |
| 137 | return nil |
| 138 | } |
| 139 | return string(b) |
| 140 | } |
| 141 | |
| 142 | func (s *postgresStore) GetRequest(ctx context.Context, requestID string) (RequestRow, error) { |
| 143 | row := s.db.QueryRowContext(ctx, ` |