Tags: yyle88/goi18n
Tags
Replace sortslice with sortx and fix bug in HasLetterPrefix function - Fix HasLetterPrefix used len(runes) instead of runes[0] - Add bounds checks when strings are blank in HasLetterPrefix and CapitalizeFirst - Replace sortslice with sortx in goi18n.go - Add English/Chinese comments to each utils function - Optimize inline comment style in goi18n.go - Update dependencies in go.mod and go.sum - Update GitHub Actions workflow and Makefile - Update README.zh.md - Add comprehensive test cases increasing utils coverage from 17.4% to 100%