Cannot assign string with single quote in golang

In Go, '⌘' represents a single character (called a Rune), whereas "⌘" represents a string containing the character .

This is true in many programming languages where the difference between strings and characters is notable, such as C++.

Check out the “Code points, characters, and runes” section in the Go Blog on Strings

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)