Skip to content

Commit

Permalink
add TypeEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
taniabogatsch committed Sep 10, 2024
1 parent bf99bc2 commit 60034be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions type.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
"unsafe"
)

type TypeEnum int

const (
TYPE_INVALID TypeEnum = 0
TYPE_BOOLEAN TypeEnum = 1
Expand Down
2 changes: 0 additions & 2 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ var duckdbTypeMap = map[C.duckdb_type]string{
C.DUCKDB_TYPE_TIMESTAMP_TZ: "TIMESTAMPTZ",
}

type TypeEnum int

type numericType interface {
int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64
}
Expand Down

0 comments on commit 60034be

Please sign in to comment.