[7] Results

Golang : Skip or discard items of non-interest when iterating example

golang read-file skip-iterable-item strings-index

Problem:

You want to skip or discard items of non-interest when iterating. For example, skipping the commented lines with #.... read more


Golang : Check if item is in slice/array

golang duplicate item-in-slice array

Problem :

You need to see if an item is inside a slice or array.

Solution :

Golang does not….... read more


Golang : Find commonalities in two slices or arrays example

golang common-item slice array

Problem:

You have two slices of the same length and you want to find out if they have similar/common items.

.... read more


Golang : Disable security check for HTTPS(SSL) with bad or expired certificate

golang https ssl-certificate disable-security-check insecure-skip-verify

There are times when a webmaster failed to renew the certificates from SSL connection in time or some other reason….... read more


Golang : Convert word to its plural form example

golang pluralize singular-word item-in-slice

Here is a program that will convert a singular word into its plural form and at the same time, perform….... read more


Golang : Takes a plural word and makes it singular

golang inflector countable plural singular item-in-slice

Here is a program that will convert a plural word into its singular form and at the same time it….... read more


Golang : Check if a word is countable or not

golang inflector countable plural singular item-in-slice

Here is an inflector function useful in determining if a given word is countable or not. The function returns TRUE….... read more


Advertisement