Skip to content

    • Your projects
    • Starred projects
    • Explore projects
    Frequently visited
    • Projects you visit often will appear here
    • Your groups
    • Explore groups
    Frequently visited
    • Groups you visit often will appear here
  • More
    • Groups
    • Activity
    • Milestones
    • Snippets
    • Analytics
    • Environments Operations
  • Projects
    • This project
    • New merge request
    • GitLab
    • New project
    • New group
    • New snippet
    • Loading...
  • 0
  • 0
  • 11
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Felix Becker
      @felixfbecker
    • Profile
    • Start a Gold trial 🚀
    • Settings
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    • Sign out
J
jsonrpc2
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Merge Requests 1
    • Merge Requests 1
  • Security & Compliance
    • Security & Compliance
    • Security Dashboard
    • Dependency List
  • Operations
    • Operations
    • Error Tracking
    • Feature Flags
  • Settings
    • Settings
    • General
    • Members
    • Integrations
    • Repository
    • Pages
    • Audit Events
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Commits
  • sourcegraph
  • jsonrpc2
  • Merge Requests
  • !1

Open
Opened just now by Felix Becker@felixfbecker
  • Edit
  • Close
  • Reopen
Edit Close merge request Reopen merge request

Test Merge Request

A merge request for testing purposes (used in our tests)

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b "changes" "origin/changes"

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/master"
git merge --no-ff "changes"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Tip: You can also checkout merge requests locally by following these guidelines.

Request to merge changes into master
Open in Web IDE
  • Email patches
  • Plain diff
No approval required
1 commit and 1 merge commit will be added to master.
You can merge this merge request manually using the
  • Discussion 0
  • Commits 1
  • Changes 1
  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
  • Felix Becker
    Markdown and quick actions are supported
    0% or
Changes between latest version
  • latest version
    769bc435
    1 commit, just now
and master
  • master (base)
1 File
4
1
File browser
Compare changes
call_opt.go +4 -1
call_opt.go
4
1
package jsonrpc2
import "fmt"
// CallOption is an option that can be provided to (*Conn).Call to
// configure custom behavior. See Meta.
type CallOption interface {
Show all lines
// taken to ensure there are no conflicts with any previously picked ID, nor
// with the default sequence ID.
func PickID(id ID) CallOption {
fmt.Println("hello")
fmt.Println("world")
return callOptionFunc(func(r *Request) error {
r.ID = id
return nil
})
}
To Do
0 Assignees Edit
None -
Assign to
None
Milestone Edit
None
Assign milestone
None
Time tracking
No estimate or time spent
0
Labels Edit
None
Assign labels
  • Create project label
  • Manage project labels
Create project label
Lock merge request
Unlocked
1
1 participant
user avatar
Felix Becker
Notifications
Reference: sourcegraph/jsonrpc2!1
0 pending comments