Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traceable Context

Traceable Context is a wrapper around go context which will provide a way to share a traceable UUID between different contexts

  • New context
package main

import (
    "github.com/google/uuid"
    "github.com/tryfix/traceable-context"
)

func main() {
 ctx := traceable_context.WithUUID(uuid.New())
}
    
  • Context from a parent context
    parent := contect.Background()
    ctx := traceable_context.WithUUID(parent, uuid.New())

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages