replacer.go 156 B

12345678910111213
  1. package base
  2. type Replace struct {
  3. Old string
  4. New string
  5. }
  6. func CreateReplace(o string, n string) *Replace {
  7. return &Replace{
  8. Old: o,
  9. New: n,
  10. }
  11. }