summaryrefslogtreecommitdiffhomepage
path: root/packet/bgp/fsmstate_string.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-07-07 13:48:38 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-07-07 20:44:25 +0900
commitc4775c42510d1f1ddd55036dc19e982712fa6a0b (patch)
tree6ec8b61d4338c809e239e3003a2d32d480898e22 /packet/bgp/fsmstate_string.go
parentb3079759aa13172fcb548a83da9a9653d8d5fed4 (diff)
follow Standard Go Project Layout
https://github.com/golang-standards/project-layout Now you can see clearly what are private and public library code. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp/fsmstate_string.go')
-rw-r--r--packet/bgp/fsmstate_string.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/packet/bgp/fsmstate_string.go b/packet/bgp/fsmstate_string.go
deleted file mode 100644
index 4416afc1..00000000
--- a/packet/bgp/fsmstate_string.go
+++ /dev/null
@@ -1,16 +0,0 @@
-// generated by stringer -type=FSMState -output=fsmstate_string.go bgp.go validate.go mrt.go rtr.go constant.go bmp.go esitype_string.go bgpattrtype_string.go; DO NOT EDIT
-
-package bgp
-
-import "fmt"
-
-const _FSMState_name = "BGP_FSM_IDLEBGP_FSM_CONNECTBGP_FSM_ACTIVEBGP_FSM_OPENSENTBGP_FSM_OPENCONFIRMBGP_FSM_ESTABLISHED"
-
-var _FSMState_index = [...]uint8{0, 12, 27, 41, 57, 76, 95}
-
-func (i FSMState) String() string {
- if i < 0 || i >= FSMState(len(_FSMState_index)-1) {
- return fmt.Sprintf("FSMState(%d)", i)
- }
- return _FSMState_name[_FSMState_index[i]:_FSMState_index[i+1]]
-}