[8] Results

Golang : What is StructTag and how to get StructTag's value?

golang struct-tag

For those who code or read Golang's code and left wondering what are those string inside the '``' such as….... read more


Your page has meta tags in the body instead of the head

missing meta tag facebook

Once in a while we will come across vague error message that lead us to no where and provide no….... read more


Golang : Meaning of omitempty in struct's field tag

golang omitempty struct field-tag

Another quick note for myself and maybe useful for you as well. This is about the meaning of the word….... read more


Golang : Extract XML attribute data with attr field tag example

golang xml attributes attr field-tag

This is an additional tutorial for previous tutorial on how to add XML attribute in Golang with struct….... read more


Javascript : How to show different content with noscript?

javascript noscript html-tag browser-security

Problem :

You got complains from your website visitors that certain functions or part of your website is not functioning….... read more


CodeIgniter/PHP : Remove empty lines above RSS or ATOM xml tag

php codeigniter xml-tag empty-lines rss atom

Problem:

Your friend is complaining that your website RSS feed is busted and validating with https://validator.w3.org gives this….... read more


Golang : Sort words with first uppercase letter

golang sort-words uppercase map replace-element-in-slice tag

Problem:

You use the sort.Strings() function to sort a slice of words. However, you noticed that words with the first….... read more


Golang : How to get struct tag and use field name to retrieve data?

golangstruct-field struct-tag field-by-name

Problem :

A structure data field can have additional information or meta-data. This information is known as struct tag in….... read more


Advertisement