Skip to content

Commit

Permalink
Merge branch 'main' into main3
Browse files Browse the repository at this point in the history
  • Loading branch information
kou7306 authored Feb 2, 2024
2 parents d809140 + 08ee007 commit b7ddfc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/funcs/handle_profession.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
package funcs


Check failure on line 3 in src/funcs/handle_profession.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofmt`-ed with `-s` (gofmt)
// 職業を判定する関数
func JudgeProfession(rank string, topLanguages []string, percentages []float64) string {


// 職業のルートと言語を定義
magicRoute := map[string]string{
"TypeScript": "攻撃魔法", "R": "ネクロマンサー", "Flutter": "防御魔法",
Expand Down Expand Up @@ -127,3 +130,4 @@ func getFinalProfession(profession string, rank string) string {
// fmt.Println(judgeProfession("A+", []string{"Assembly"}, []float64{100})) // 賞金稼ぎのラスボス
// fmt.Println(judgeProfession("S", []string{"Python"}, []float64{100})) // 神
// }

0 comments on commit b7ddfc7

Please sign in to comment.