Skip to content

Commit

Permalink
spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
muir committed Oct 3, 2022
1 parent 10ac2e0 commit b5db1fb
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ to another server when making a request. Xop currently only supports HTTP
and that only with [resty](https://github.com/go-resty/resty) in the
xopmiddle package. Adding additional outgoing propagators is an outstanding priority.

### Version compatability
### Version compatibility

xop is currently tested with go1.18 and go1.19. It is probably
compatible with go1.17 and perhaps earlier.
Expand Down
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func WithDefault(level xopnum.Level) AdjusterOption {
}

// WithSkippedFrames is needed only if LevelAdjuster or ContextLevelAdjuster
// are called from withing another function that should not be used to
// are called from within another function that should not be used to
// derrive the package name.
func WithSkippedFrames(additionalFramesToSkip int) AdjusterOption {
return func(o *adjustOptions) {
Expand Down
2 changes: 1 addition & 1 deletion sub.zzzgo
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/xoplog/xop-go/xopnum"
)

// Sub holds an ephermal state of a log being tranformed to a new log.
// Sub holds an ephemeral state of a log being tranformed to a new log.
type Sub struct {
detached bool
settings LogSettings
Expand Down
2 changes: 1 addition & 1 deletion trace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// See https://www.w3.org/TR/trace-context/ and
// https://github.com/w3c/trace-context/blob/main/spec/30-processing-model.md
//
// The spec has some unfortuante side-effects. The spec doesn't require the
// The spec has some unfortunate side-effects. The spec doesn't require the
// "traceresponse" header except when the trace-id is discarded. That means that
// parent requests do not have enough information to directly link to child
// requests.
Expand Down
2 changes: 1 addition & 1 deletion xopat/enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type IotaEnumAttribute struct {
// method to add span-level metadata. It encapsulates both the attribute
// name and the attribute value in a single argument.
//
// EmbeddedEnum values can be construted with a EmbeddedEnumAttribute or
// EmbeddedEnum values can be constructed with a EmbeddedEnumAttribute or
// with an IotaEnumAttribute.
type EmbeddedEnum interface {
EnumAttribute() *EnumAttribute
Expand Down
4 changes: 2 additions & 2 deletions xopbase/base.zzzgo
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ type Span interface {
// ID must return the same string as the Logger it came from
ID() string

// TODO: Guage()
// TODO: Gauge()
// TODO: Event()

NoPrefill() Prefilled
Expand All @@ -94,7 +94,7 @@ type Span interface {
// Done is called when (1) log.Done is called on the log corresponding
// to this span; (2) log.Done is called on a parent log of the log
// corresponding to this span, and the log is not Detach()ed; or
// (3) preceeding Flush() if there has been logging activity since the
// (3) preceding Flush() if there has been logging activity since the
// last call to Flush(), Done(), or the start of the span.
//
// final is true when the log is done, it is false when Done is called
Expand Down
2 changes: 1 addition & 1 deletion xopconst/standard.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// xopconst provides pre-registed standard attributes for describing spans
// xopconst provides pre-registered standard attributes for describing spans
package xopconst

import (
Expand Down
2 changes: 1 addition & 1 deletion xoputil/fromphu.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package xoputil

/*
This file contains code that is direclty copied or derrived from
This contains code that is directly copied or derrived from
https://github.com/phuslu/log
The original is subject to the following license.
Expand Down

0 comments on commit b5db1fb

Please sign in to comment.