Skip to content

Commit

Permalink
ganzhi element v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tommitoan committed Aug 11, 2024
1 parent 47ca0f7 commit 71ce1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ultis/get_ganzhi.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func GetGanzhi(sign string) (string, string, int) {
case strings.Contains(element, "earth"):
mainElement = "Earth"
valueElement = 5
case strings.Contains(element, "gold"):
case strings.Contains(element, "gold") || strings.Contains(element, "metal"):
mainElement = "Metal"
valueElement = 4
default:
Expand Down

0 comments on commit 71ce1eb

Please sign in to comment.