strings.HasSuffix
strings.Index
strings.Count
substrが最初に現れるインデックスを返します。なければ-1。
strings.Index(s, substr string) int