gistlib
other go categories
strings code snippets in go
assign a value to a pointer to a string in go
create a pointer variable of the 'string' type, then assign "my string" to the variable at the address held by the pointer, finally, print the variable referenced by your pointer variable here! in go
create a template string in go
create an array with a length of type string in go
find the extension of a file in go
find the first character in a string in go
find the first index of a substring in a string in go
find the kth longest word in a string in go
find the last index of a character in a string in go
find the length of a string in go
find the longest word in a string in go
find the name of a directory in go
find the shortest word in a string in go
format a date in to the format 'yyyy-mm-dd' in go
get the last char in a string in go
join an array of characters into a string in go
join two strings in go
parse an array of strings in go
prepend a string to the beginning of another string in go
remove a character from a string at a specific index in go
remove a substring from a string at a specific index in go
replace a character in a string in go
replace a substring in a string in go
split a string into an array of characters in go
split a string into two strings in go
use the fmt package to print a value of type string in go
gistlib
by LogSnag