Golang Tutorial
Learn Golang tutorials with examples

January 31, 2023 · 2 min read
package.json contains direct and indirect dependencies. Your application has dependencies that contain another dependency that is upgraded with the new version. You want your application to have selective dependencies to be chosen. Your application is myapp, has dependencies package-1.0, package-1.0 has dependent on sub-package1.0. When your application is created and installed, It works fine. After a couple of days or a month. You installed dependencies in the application, the application is usually installed with indirect dependencies with the latest versions....
January 31, 2023 · 1 min read
This example shows multiple ways to get the current logged username of the running Operating System. Each OS has a login profile to log into System. Program to retrieve the current logged OS username in NodeJS Nodejs os module provides current Operation System information. The userInfo() function returns an object containing the OS information of a user and directory. First, Import theos module into the code using require() function....
January 29, 2023 · 4 min read
This tutorial shows multiple ways to Convert Double to Int and Int to double in Dart and Flutter programming. Convert Double to Int in Dart: use double.toInt() method, For example: 3.4.toInt() returns int value 3. double.truncate() method to remove decimals from a number.3.4.truncate() returns int value 3. rounding methods such as round, ceil, and floor based on lower or upper value of a given number....
January 14, 2023 · 3 min read
With Gradle build or run command, executes test case execution by default. Sometimes, We want to disable or ignore test execution in Gradle project execution. In Maven, you can easily do this with the command line with the option -DskipTests=true. This blog talks about different ways to disable test case execution in Gradle projects. It skips the following test cases. Unit test cases Integration test is -DskipTests available with Gradle command?...
January 14, 2023 · 3 min read
What is Gradle? Gradle is an Opensource build automation tool to build and run projects in Android and java based on projects. Features Incremental builds Gradle considers the last modified files and the last build and only builds with modified files thus improving performance. Parallel task execution Build caching JVM and Android application management Gradle version The current version is 7.1. Gradle Download The Gradle tool can be downloaded from here....
Recent posts
Nodejs package.json resolutions How to find Operating System username in NodeJS? How to convert Double to Integer or Integer to double in Dart| Flutter By Example Ways to skip test case execution in Gradle project build Learn Gradle | tutorials, and examples