JIYIK CN >

Latest article

Integer types in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

In TypeScript , there is no concept of integer data types like in other programming languages. Usually, only number type is used to represent floating point numbers. bigint is the latest version of TypeScript, which represents large integer

View

GoLang elements are maps of maps

Publish Date:2025/04/15 Author:JIYIK Category:Go

This article introduces how to create a Map of Maps in Go language. GoLang Map of Map Maps of Maps or nested maps are those maps whose key-value pairs are also maps. In Go language, you can create Maps of Maps. When we define a Map, we have

View

Update TypeScript to the latest version using NPM

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article provides a guide to update to the latest version of TypeScript using npm, which is the best and most popular method used by developers. This also gives us an in-depth look at what npm is and why to use it. Node Package Manager

View

Enabling CORS in GoLang

Publish Date:2025/04/15 Author:JIYIK Category:Go

This article describes how to enable and use CORS in GoLang. Go language CORS Cross-origin resource sharing (CORS) is a process based on HTTP headers that defines the origins from which browsers are allowed to load and use resources. CORS i

View

React UseState Hook Types in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article will demonstrate the use of React hooks in TypeScript useState . React useState hook definition React useState hooks play an important role when using functional components, from storing temporary data to receiving data from AP

View

Convert JSON to struct in Go

Publish Date:2025/04/15 Author:JIYIK Category:Go

This article describes how to convert JSON to struct in GoLang . Convert JSON to Struct using Unmarshal method in Go The encoding/json package of the Go language provides a function Unmarshal to convert JSON data into byte format. This func

View

Function return types in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

TypeScript is a strongly typed language and it is always encouraged to define the types correctly for all variables used in TypeScript. These types can help in development later, especially during debugging. In addition to variables, functi

View

How to read a file into a string in GoLang

Publish Date:2025/04/15 Author:JIYIK Category:Go

The Go language provides a lot of file manipulation tools, one of which is how to read files into strings. ioutil.ReadFile() , File.Read() , buf.ReadFrom() and strings.Builder are just a few of the methods that can be used to efficiently wr

View

Sleeping in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

When implementing business logic, you often need to add a delay to a function or sleep for a while waiting for an API call. This article will discuss different ways and concepts of sleeping threads in TypeScript. Using blocking to sleep thr

View

Golang copy slice

Publish Date:2025/04/15 Author:JIYIK Category:Go

This article introduces how to copy slices in Go language. Copying a Slice in GoLang Copying a slice in Go can be achieved by different methods. The copy() and append() methods are commonly used for this purpose, where copy() takes a deep c

View

Using jQuery and TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article provides the basic understanding and concepts of using jQuery with TypeScript. It guides on how to use jQuery in TypeScript through a coding example and outputs using various methods in TypeScript and provides knowledge about w

View

Function pointers in Go

Publish Date:2025/04/15 Author:JIYIK Category:Go

A pointer in Go is a special-purpose variable that stores the memory address of other variables and the point where the memory is located. It can also access the value stored in that memory location. Pointer declaration in Go var pointer_na

View

React event types in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

In React, you often need to listen to event listeners that are triggered due to certain operations on certain HTML elements. TypeScript has strong typing support for all events triggered due to certain operations on HTML elements, such as t

View

Dictionary or map type in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

Dictionaries or maps are used to quickly retrieve items from an object. TypeScript does not have any concept of maps or dictionaries. Plain JavaScript has objects that can set and retrieve key-value pairs. TypeScript provides Record types t

View

Declaring constant Map in Go

Publish Date:2025/04/15 Author:JIYIK Category:Go

Map is a collection of key-value pairs which can be sorted in any order. It assigns values ​​to keys. The keys in a Map are always unique, but the values ​​are not always unique. The map data structure is used for fast key-based dat

View

Handling exceptions with try..catch..finally in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article will discuss try..catch..finally handling exceptions in TypeScript using the statement. Handling exceptions in TypeScript In TypeScript, try..catch..finally a block handles exceptions that occur during program runtime. It allow

View

Install GoLang using Brew

Publish Date:2025/04/15 Author:JIYIK Category:Go

This article describes how to install GoLang using Brew on Linux or macOS. Install GoLang using Brew brew installs missing packages in Linux and macOS. It makes it easy to install GoLang on Linux or macOS. Follow the steps below to install

View

Declaration or statement expected error in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

This article explains Declaration or statement expected the error in JavaScript or TypeScript and why the compiler throws this error. All the major causes of this error will be discussed, and how to avoid it in the developer community. 预期

View

GoLang sorting structure slices

Publish Date:2025/04/15 Author:JIYIK Category:Go

This article describes how to sort structure slices in Go. GoLang sorting structure slices GoLang provides two methods to sort a struct slice; one is sort.Slice and the other is sort.SliceStable . We also need to use the less function with

View

Checking for undefined in TypeScript

Publish Date:2025/04/15 Author:JIYIK Category:TypeScript

Checking for undefined in TypeScript

This article will demonstrate how programmers can check for undefined in TypeScript using various coding examples and situations. It not only gives you an understanding of checking for undefined in TypeScript, but also helps in differentiat

View

Recommended

Last modified

Hottest

Tags

Scan the Code
Easier Access Tutorial