fix code formatting
All checks were successful
Build and publish the docker image / build (push) Successful in 1m2s
All checks were successful
Build and publish the docker image / build (push) Successful in 1m2s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
parent
06fa48351b
commit
7755d6c2fe
@ -15,7 +15,7 @@ var Dicts []dictionary = []dictionary{
|
||||
{ShortName: "EN-FR", Name: "French - English", Url: "/french-english"},
|
||||
}
|
||||
|
||||
func find_dict(sn string) (*dictionary) {
|
||||
func find_dict(sn string) *dictionary {
|
||||
for i := range Dicts {
|
||||
if Dicts[i].ShortName == sn {
|
||||
return &Dicts[i]
|
||||
|
Loading…
x
Reference in New Issue
Block a user