Font size
WorksheetsGolang Fiber with GORM
Total questions: 24
Worksheet time: 9mins
how to get Golang package in VS Code
How to create a module in golang?
How to update the module in Golang?
Use the 'go mod tidy' command to update the module in Golang.
Lists of Variable Declarations in Golang
short variable declaration
single variable declaration
explicit type declaration
implicit type declaration
Single variable declaration syntax in Golang
Multiple variable declaration in Golang
Multiple short variable declaration syntax in Golang
var1, va2 := val1, val2
var variableName type
var (var1 int var2 string)
var variableName type
Struct declaration in Golang
type MyStruct = struct { field1 type1 field2 type2 }
type MyStruct struct { field1 type1 field2 type2 }
struct MyStruct { field1 type1 field2 type2 }
List of data types in Golang
int
string
text
float
Function with parameter syntax in Golang
func functionName(parameterName parameterType)
{
body
}
Function with return type syntax in Golang
func functionName() returnType
{
body
}
Function with parameter and return type syntax in Golang
func functionName(parameterName parameterType) returnType
{
body
return returnType
}
Folder structures in Golang Project
Controller, Model, Routes
Feature(Controller. Model), Routes
Is this the correct representation of API?
YES
NO
What is A.P.I.?
How to initialize Golang Fiber?
Golang Fiber http methods are?
POST
GET
app.Listen(":3000")
What are the commands used to run the application in Golang?
go run main.go
go run .
GORM url package is?
(a)
Golang Fiber url package is?
(a)
GORM postgresql connection syntax is?
How to use GORM raw?
It is a request and response body format used for storing and transporting data
