mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* MCP Server Signed-off-by: Joe Elliott <[email protected]> * docs Signed-off-by: Joe Elliott <[email protected]> * tests Signed-off-by: Joe Elliott <[email protected]> * logs Signed-off-by: Joe Elliott <[email protected]> * changelog Signed-off-by: Joe Elliott <[email protected]> * manifest Signed-off-by: Joe Elliott <[email protected]> * lint Signed-off-by: Joe Elliott <[email protected]> * lint Signed-off-by: Joe Elliott <[email protected]> * use tools error return Signed-off-by: Joe Elliott <[email protected]> * add meta info about response types Signed-off-by: Joe Elliott <[email protected]> * made constants and split the metrics meta types Signed-off-by: Joe Elliott <[email protected]> * update path from /mcp to /api/mcp Signed-off-by: Joe Elliott <[email protected]> * mcp integration tset Signed-off-by: Joe Elliott <[email protected]> * review Signed-off-by: Joe Elliott <[email protected]> * Removed httptest.Recorder Signed-off-by: Joe Elliott <[email protected]> * Use new jaeger client Signed-off-by: Joe Elliott <[email protected]> --------- Signed-off-by: Joe Elliott <[email protected]>
17 lines
414 B
Go
17 lines
414 B
Go
// Copyright (C) 2016 Kohei YOSHIDA. All rights reserved.
|
|
//
|
|
// This program is free software; you can redistribute it and/or
|
|
// modify it under the terms of The BSD 3-Clause License
|
|
// that can be found in the LICENSE file.
|
|
|
|
package uritemplate
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func errorf(pos int, format string, a ...interface{}) error {
|
|
msg := fmt.Sprintf(format, a...)
|
|
return fmt.Errorf("uritemplate:%d:%s", pos, msg)
|
|
}
|