[GH-ISSUE #2675] 无法用GoLand编译frps #2135

Closed
opened 2026-05-05 13:22:29 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @tiger822 on GitHub (Nov 24, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2675

Bug Description

command-line-arguments

.\main.go:31:2: undefined: Execute

Compilation finished with exit code 2

frpc Version

0.38

frps Version

0.38

System Architecture

windows/amd64

Configurations

windows10 64位。
goland 64位。

Logs

编译&debug frpc没问题
但最想debug frps,就出现上述问题,这个Excute明明就在同级目录的root.go里面而且是相同的package main,小菜鸡请求帮助。。。

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @tiger822 on GitHub (Nov 24, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2675 ### Bug Description # command-line-arguments .\main.go:31:2: undefined: Execute Compilation finished with exit code 2 ### frpc Version 0.38 ### frps Version 0.38 ### System Architecture windows/amd64 ### Configurations windows10 64位。 goland 64位。 ### Logs 编译&debug frpc没问题 但最想debug frps,就出现上述问题,这个Excute明明就在同级目录的root.go里面而且是相同的package main,小菜鸡请求帮助。。。 ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@tiger822 commented on GitHub (Nov 24, 2021):

搞定了,是GoLand的问题。

<!-- gh-comment-id:977406143 --> @tiger822 commented on GitHub (Nov 24, 2021): 搞定了,是GoLand的问题。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2135
No description provided.