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

bots-go-framework / bots-fw / 16260207533

14 Jul 2025 07:00AM UTC coverage: 3.219% (-0.2%) from 3.415%
16260207533

push

github

trakhimenok
feat(refactoring): restructuring packages and renaming types - cleanup

0 of 634 new or added lines in 30 files covered. (0.0%)

124 of 3852 relevant lines covered (3.22%)

0.04 hits per line

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

0.0
/botinput/type_string.go
1
// Code generated by "stringer -type=Type"; DO NOT EDIT.
2

3
package botinput
4

5
import "strconv"
6

7
func _() {
8
        // An "invalid array index" compiler error signifies that the constant values have changed.
9
        // Re-run the stringer command to generate them again.
10
        var x [1]struct{}
11
        _ = x[TypeUnknown-0]
12
        _ = x[TypeNotImplemented-1]
13
        _ = x[TypeText-2]
14
        _ = x[TypeVoice-3]
15
        _ = x[TypePhoto-4]
16
        _ = x[TypeAudio-5]
17
        _ = x[TypeContact-6]
18
        _ = x[TypePostback-7]
19
        _ = x[TypeDelivery-8]
20
        _ = x[TypeAttachment-9]
21
        _ = x[TypeInlineQuery-10]
22
        _ = x[TypeCallbackQuery-11]
23
        _ = x[TypeReferral-12]
24
        _ = x[TypeChosenInlineResult-13]
25
        _ = x[TypeSubscribed-14]
26
        _ = x[TypeUnsubscribed-15]
27
        _ = x[TypeConversationStarted-16]
28
        _ = x[TypeNewChatMembers-17]
29
        _ = x[TypeLeftChatMembers-18]
30
        _ = x[TypeSticker-19]
31
        _ = x[TypeSharedUsers-20]
32
        _ = x[TypePreCheckoutQuery-21]
33
        _ = x[TypeSuccessfulPayment-22]
34
        _ = x[TypeRefundedPayment-23]
35
}
36

37
const _Type_name = "TypeUnknownTypeNotImplementedTypeTextTypeVoiceTypePhotoTypeAudioTypeContactTypePostbackTypeDeliveryTypeAttachmentTypeInlineQueryTypeCallbackQueryTypeReferralTypeChosenInlineResultTypeSubscribedTypeUnsubscribedTypeConversationStartedTypeNewChatMembersTypeLeftChatMembersTypeStickerTypeSharedUsersTypePreCheckoutQueryTypeSuccessfulPaymentTypeRefundedPayment"
38

39
var _Type_index = [...]uint16{0, 11, 29, 37, 46, 55, 64, 75, 87, 99, 113, 128, 145, 157, 179, 193, 209, 232, 250, 269, 280, 295, 315, 336, 355}
40

NEW
41
func (i Type) String() string {
×
NEW
42
        if i < 0 || i >= Type(len(_Type_index)-1) {
×
NEW
43
                return "Type(" + strconv.FormatInt(int64(i), 10) + ")"
×
NEW
44
        }
×
NEW
45
        return _Type_name[_Type_index[i]:_Type_index[i+1]]
×
46
}
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