Mapping SQLite types to Go types

Report a typo

Brian has just started building an application that will work with a SQLite database that contains the cars table with the following columns:

cars
id INTEGER
model_name TEXT
top_speed REAL
is_electric BOOL
release_year DATETIME

Before writing any code in his program and declaring the Car model, Brian needs your help to match each column of the cars table with the correct Go data type below.

Match the items from left and right columns
id
model_name
is_electric
release_year
time.Time
string
bool
uint
___

Create a free account to access the full topic