andygeiss/esp32-transpiler

View on GitHub
transpile/handlers/handleFuncDeclType.go

Summary

Maintainability
A
0 mins
Test Coverage
package handlers

import "go/ast"

func handleFuncDeclType(t *ast.FuncType) string {
    code := ""
    if t.Results == nil {
        code = "void"
    }
    return code
}