Recent blogs
Learn how to use the var keyword to make variables without assigning values in Go or Golang
Learn how to return multiple values from a function and assign them to variables in Golang or Go
Learn how to use the import keyword to import more than one package in Go or Golang
Learn how to use the import keyword to import a single package in Go or Golang
Learn how to create a slice or a dynamic array in Golang or Go
Learn how to declare and initialize variables in Golang or Go
Learn how to easily initialize a local variable for an if conditional statement in Golang or Go
Learn how to write `if` conditional statements in Golang or Go
Learn how to use the @Redirect() decorator function to set a static redirection for a GET request in Nestjs
Learn how to use the @Header() decorator function to set or send a static response header for a POST request in Nestjs
Learn how to use the @Header() decorator function to set or send a static response header for a GET request in Nestjs
Learn how to use the @HttpCode() decorator function to set or sent a static response status code for a POST request in Nestjs
Learn how to use the @HttpCode() decorator function to set or send a static response status code for a GET request in Nestjs
Learn how to use the @Param() decorator function to get or extract URL parameters from a POST request in Nestjs
Learn how to use the @Param() decorator function to get or extract URL parameters from a GET request in Nestjs
Learn how to use the `ReturnType` utility type to easily make a type from a function's return value in TypeScript
Learn how to use the `Parameters` utility type to easily make a type from a function's parameters in TypeScript
Learn how to use the `NonNullable` utility type to easily make a new type by removing null or undefined values from the union type in TypeScript
Learn how to use the `Exclude` utility type to easily make a new type by removing or excluding certain values from a union type in TypeScript
Learn how to use the `Omit` utility type to easily make a new type by removing or omitting certain properties from another type in TypeScript
Learn how to use the `Pick` utility type to easily make a new type by taking or picking certain properties from another type in TypeScript
Learn how to use the `Record` utility type to easily make an object type that accepts only certain strings as keys in TypeScript
Learn how to use the `Readonly` utility type to easily make every property in a type alias or interface to readonly properties in TypeScript
Learn how to use the `Required` utility type to easily make every property in a type alias or interface to required properties in TypeScript
Learn how to use the `Partial` utility type to easily make every property in a type alias or interface to optional properties in TypeScript
Learn how to define and initialize protected readonly class fields in the constructor itself in TypeScript
Learn how to define and initialize private readonly class fields in the constructor itself in TypeScript
Learn how to define and initialize public readonly class fields in the constructor itself in TypeScript