bilibili / bilibili/gengine

gengine 支持返回多值吗 类似 value,error

Open
#40 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
281
PR merge metrics
No merged PRs in 30d

Description

有时候需要判断是否有error 再执行相关逻辑逻辑
希望还是
```
value,err = function()
if ! isNil(err){
//do something
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named in the issue. Begin by locating the return-value and expression-evaluation implementation and its existing tests, then define the supported multi-value semantics and verify the value,error example with regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.