- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Siva Sai has Published 279 Articles
![Siva Sai](https://www.tutorialspoint.com/assets/profiles/641140/profile/60_712060-1681791038.jpg)
Siva Sai
1K+ Views
In Golang, generating random numbers is a common task that is required in many applications. However, the type of random number generated is important as it affects the precision and range of the number. In this article, we will discuss how to generate random Float64 type numbers in Golang. What ... Read More
![Siva Sai](https://www.tutorialspoint.com/assets/profiles/641140/profile/60_712060-1681791038.jpg)
Siva Sai
142 Views
Generating random numbers is a common task in many programming applications. In Go, we can use the math/rand package to generate random numbers. In this article, we will explore how to get a random number of type float32 in Go. Using The Rand Package The math/rand package in Go provides ... Read More
![Siva Sai](https://www.tutorialspoint.com/assets/profiles/641140/profile/60_712060-1681791038.jpg)
Siva Sai
15K+ Views
Getting the current date and time is a common task in many programming applications, from logging events to scheduling tasks. In this article, we will explore how to get the current date and time in various formats in Golang. Using The Time Package The time package in Golang provides a ... Read More
![Siva Sai](https://www.tutorialspoint.com/assets/profiles/641140/profile/60_712060-1681791038.jpg)
Siva Sai
5K+ Views
Generating random strings or characters is a common task in many programming applications, from generating random passwords to generating unique IDs. In this article, we will explore how to generate random strings or characters in Golang. Using the math/rand Package The math/rand package in Golang provides a simple way to ... Read More
![Siva Sai](https://www.tutorialspoint.com/assets/profiles/641140/profile/60_712060-1681791038.jpg)
Siva Sai
1K+ Views
In many programming applications, we need to generate an array of unique random numbers. This can be useful for tasks such as creating unique IDs or selecting random items from a list without repetition. In this article, we will explore how to generate an array of unique random numbers in ... Read More
![Siva Sai](https://www.tutorialspoint.com/assets/profiles/641140/profile/60_712060-1681791038.jpg)
Siva Sai
425 Views
Race conditions can be a serious problem for developers working with concurrent programming. When multiple threads or processes access a shared resource simultaneously, they can create unpredictable and potentially dangerous results. Fortunately, the Go programming language provides a number of tools for dealing with this issue, including atomic functions. In ... Read More
![Siva Sai](https://www.tutorialspoint.com/assets/profiles/641140/profile/60_712060-1681791038.jpg)
Siva Sai
3K+ Views
In Golang, structs are a powerful and essential feature that helps in organizing data and improving code readability. A struct is a composite data type that groups together zero or more values of different types. It is a user-defined type that can be customized according to the programmer's needs. Sometimes, ... Read More
![Siva Sai](https://www.tutorialspoint.com/assets/profiles/641140/profile/60_712060-1681791038.jpg)
Siva Sai
223 Views
In mathematical calculations, trigonometric functions such as sine (sin) and cosine (cos) are commonly used. In Go programming language, you can find the sin and cos values of a number using the math package. In this article, we will discuss how to find the sin and cos values of a ... Read More
![Siva Sai](https://www.tutorialspoint.com/assets/profiles/641140/profile/60_712060-1681791038.jpg)
Siva Sai
399 Views
In Golang, pointers are used to hold the memory addresses of other variables. They are often used to pass a variable's memory address to a function or to create a reference to an object in memory. The length of a pointer is determined by the size of the data type ... Read More
![Siva Sai](https://www.tutorialspoint.com/assets/profiles/641140/profile/60_712060-1681791038.jpg)
Siva Sai
2K+ Views
In Golang, there are several data types such as channels, pointers, slices, strings, and maps. Each of these data types has a different way of storing and accessing data, and it is essential to know the length or size of each type to manage the memory efficiently. In this article, ... Read More