remove deprecated code

This commit is contained in:
Carlosokumu 2024-09-23 10:47:22 +03:00
parent 0284bc5ef9
commit aec2f3db29
Signed by untrusted user: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -1,24 +0,0 @@
package utils
func MatchNavigationPath(a, b []string) bool {
if len(a) != len(b) {
return false
}
//Check if the navigation path matches with single edit
for i := range a {
if a[i] != b[i] {
return false
}
}
return true
}
func GetSingleEditExecutionPath(key string) []string {
paths := make(map[string][]string)
paths["select_gender"] = []string{"root", "main", "my_account", "edit_profile", "select_gender"}
paths["save_location"] = []string{"root", "main", "my_account", "edit_profile", "enter_location"}
paths["save_yob"] = []string{"root", "main", "my_account", "edit_profile", "enter_yob"}
return paths[key]
}