Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove stars when repo goes private (#19904) | Wim | 2023-06-05 | 1 | -0/+14 |
| | | | Fixes #18600 | ||||
* | Implement FSFE REUSE for golang files (#21840) | flynnnnnnnnnn | 2022-11-27 | 1 | -2/+1 |
| | | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com> | ||||
* | Allow detect whether it's in a database transaction for a context.Context ↵ | Lunny Xiao | 2022-11-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | (#21756) Fix #19513 This PR introduce a new db method `InTransaction(context.Context)`, and also builtin check on `db.TxContext` and `db.WithTx`. There is also a new method `db.AutoTx` has been introduced but could be used by other PRs. `WithTx` will always open a new transaction, if a transaction exist in context, return an error. `AutoTx` will try to open a new transaction if no transaction exist in context. That means it will always enter a transaction if there is no error. Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: 6543 <6543@obermui.de> | ||||
* | Move almost all functions' parameter db.Engine to context.Context (#19748) | Lunny Xiao | 2022-05-20 | 1 | -7/+5 |
| | | | | * Move almost all functions' parameter db.Engine to context.Context * remove some unnecessary wrap functions | ||||
* | Some repository refactors (#17950) | Lunny Xiao | 2021-12-12 | 1 | -0/+90 |
* some repository refactors * remove unnecessary code * Fix test * Remove unnecessary banner |