From f26a5b8c59f93c9bc759635e6ed78a689e17bcb3 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Tue, 18 Mar 2025 15:36:02 -0400 Subject: [PATCH] Fix ordering of languages when inserting into DB --- golangServer/testing.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/golangServer/testing.go b/golangServer/testing.go index 5c1f635..e210c07 100644 --- a/golangServer/testing.go +++ b/golangServer/testing.go @@ -24,10 +24,10 @@ type translationStruct struct { Mr string `db:"marathi" json:"mr"` Ta string `db:"tamil" json:"ta"` Te string `db:"telugu" json:"te"` - Ml string `db:"malayalam" json:"ml"` Kn string `db:"kannada" json:"kn"` - Gu string `db:"gujarati" json:"gu"` + Ml string `db:"malayalam" json:"ml"` Or string `db:"oriya" json:"or"` + Gu string `db:"gujarati" json:"gu"` Ur string `db:"urdu" json:"ur"` Lus string `db:"mizo" json:"lus"` As string `db:"assamese" json:"as"` @@ -50,10 +50,10 @@ var lang_codes []string = []string{ "mr", // Marathi "ta", // Tamil "te", // Telugu - "ml", // Malayalam "kn", // Kannada - "gu", // Gujarati + "ml", // Malayalam "or", // Oriya + "gu", // Gujarati "ur", // Urdu "lus", // Mizo "as", // Assamese