Select Git revision
-
Md. Alim Ul Karim authored
# v0.6.8 - Integration Test Helper (Validators, SliceValidators, Refactoring, ReflectSlice functions) - [x] Validators - [x] SliceValidators - [x] Refactoring - [x] ReflectSlice functions See merge request !55
Md. Alim Ul Karim authored# v0.6.8 - Integration Test Helper (Validators, SliceValidators, Refactoring, ReflectSlice functions) - [x] Validators - [x] SliceValidators - [x] Refactoring - [x] ReflectSlice functions See merge request !55
IsEndsChar.go 221 B
package stringutil
// IsEndsChar searches for case sensitive terms
func IsEndsChar(
content string,
char byte,
) bool {
length := len(content)
if length == 0 {
return false
}
return content[length-1] == char
}