• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

echocat / caretakerd / 13988158533

21 Mar 2025 09:01AM UTC coverage: 8.837% (-1.3%) from 10.12%
13988158533

push

github

web-flow
Bump github.com/tdewolff/minify/v2 from 2.21.3 to 2.22.3 (#65)

* Bump github.com/tdewolff/minify/v2 from 2.21.3 to 2.22.3

Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.21.3 to 2.22.3.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.21.3...v2.22.3)

---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adjust used go dependencies

* Adjust used go dependencies

* Adjust used go dependencies

* Adjusted to latest changes

* Adjusted to latest changes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gregor Noczinski <gregor@noczinski.eu>

544 of 6156 relevant lines covered (8.84%)

2.67 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/values/string.go
1
package values
2

3
import "strings"
4

5
// String represents a string with more features as the primitive type.
6
// @inline
7
type String string
8

9
func (instance String) String() string {
×
10
        s, err := instance.CheckedString()
×
11
        if err != nil {
×
12
                panic(err)
×
13
        }
14
        return s
×
15
}
16

17
// CheckedString is like String but also returns an optional error if there are any
18
// validation errors.
19
func (instance String) CheckedString() (string, error) {
×
20
        return string(instance), nil
×
21
}
×
22

23
// Set sets the given string to the current object from a string.
24
// Returns an error object if there are any problems while transforming the string.
25
func (instance *String) Set(value string) error {
×
26
        *instance = String(value)
×
27
        return nil
×
28
}
×
29

30
// MarshalYAML is used until yaml marshalling. Do not call this method directly.
31
func (instance String) MarshalYAML() (interface{}, error) {
×
32
        return string(instance), nil
×
33
}
×
34

35
// UnmarshalYAML is used until yaml unmarshalling. Do not call this method directly.
36
func (instance *String) UnmarshalYAML(unmarshal func(interface{}) error) error {
×
37
        var value string
×
38
        if err := unmarshal(&value); err != nil {
×
39
                return err
×
40
        }
×
41
        return instance.Set(value)
×
42
}
43

44
// Validate validates actions on this object and returns an error object if there are any.
45
func (instance String) Validate() error {
×
46
        _, err := instance.CheckedString()
×
47
        return err
×
48
}
×
49

50
// IsEmpty returns "true" if the current string instance has no content.
51
func (instance String) IsEmpty() bool {
×
52
        return len(instance) <= 0
×
53
}
×
54

55
// IsTrimmedEmpty returns "true" if the current string instance has no trimmed content.
56
func (instance String) IsTrimmedEmpty() bool {
×
57
        return len(strings.TrimSpace(instance.String())) <= 0
×
58
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc