[31] Results

Golang : Populate dropdown with html/template example

golang html dropdown for-loop-range-in-html-template

Creating a clickable dropdown button or HTML select tag is a common task for populating a form. Here is a….... read more


Golang : Print instead of building pyramids

golang pyramids for-loop

Building a pyramid using ancient Egyptians way can be too difficult for more software developers. Just for fun, let's print….... read more


Golang : Read until certain character to break for loop

golang break-for-loop

Encounter a situation where I need to tell the editor that is time to save the input and exit while….... read more


Golang : For loop continue,break and range

golang for continue break range

Feeling like writing about FOR loop today so....this tutorial will explore how Golang's FOR loop works.

For loop is….... read more


Golang : How to iterate a slice without using for loop?

golang for-loop recursive iterate

A very simple example on how to iterate a slice of integers without using a for loop and use recursive….... read more


Golang : Integer is between a range

golang minmax in-between-range integer

Problem:

You need to check if a given integer is in between a range of integer. How to do that?

.... read more


Golang : Loop each day of the current month example

golang loop-date number-of-days-in-month

Problem:

You need to get the current month, find out the number of days in the month programmatically and loop….... read more


Golang : Create PDF file from HTML file

golang pdf html

When I was coding with PHP and CodeIgniter framework, I need to generate PDF file to email receipts to my….... read more


Advertisement