“Python para Golang” Respostas de código

Python para Golang

# Check out https://github.com/google/grumpy (Grumpy is a Python to Go source code transcompiler )
CompSciGeek

Vá para Python

def func1():
    ...

def func2():
    ...

funcmap = {1 : func1, 2 : func2}

def somefunc(a):
    funcmap[a]()  #Ugly!  But it works.
Crowded Coyote

Respostas semelhantes a “Python para Golang”

Perguntas semelhantes a “Python para Golang”

Mais respostas relacionadas para “Python para Golang” em Python

Procure respostas de código populares por idioma