Study goweb Development ,gin It's a lightweight framework . If you want a class such as aspnetmvc Help us build the goweb frame ,beego It's worth learning . otherwise gin You need to build a lot of code by yourself . Novice or first learn ready-made to save time and cost .

Novice experience , Don't give more advice to other places .

First step : Build a project first , Because the online tutorial is to perform go get github.com/beego/beego/[email protected], Generate bee.exe, So my stupid way is to build a project , perform go mod init main.go, To perform go get github.com/beego/beego/[email protected]

Then something terrible happened , Searching the entire computer did not find most of the tutorials called bee.exe.

Then time is wasted on Baidu , Still not found . Know the colleagues who found this question . Based on the latest edition go1.18 install beego Found that it was not found anywhere on the disk bee command · Issue #4934 · beego/beego (github.com)

The key message is   install go.17 The command doesn't seem to be go get 了 ,go install try ,bee The source file is compiled and copied to bin Next , Here the problem is finally clear . Then do it ...

The second step :

go env Total found path route , My path is d:\go below . So we found bee Download source code : Path as follows :D:\Go\pkg\mod\github.com\beego\bee\[email protected]

 The third step : Input here cmd Will open cmd Folder is not open cmd Command window , Because this directory has cmd Folder . No problem , stay cmd Enter... Under the folder cmd, Again cd .. Return to [email protected] Folder 

Step four :go mod tidy Organize the code

Step five : perform go install

Go back here gopath/bin see , In my heart bee.exe Finally came out , Then do what you should do

adopt bee newly build mvc project

Study beego Code ...

Remember a beego adopt go get I can't find it after the order bee.exe More related articles about the pit of

  1. About use sudo I can't find it after the order JAVA_HOME The problem of

    Today, build in a virtual machine zookeeper Environmental Science , And it didn't work , The only information is out In the document “ No, java command ” This is a hint , Look around and find that you can't find java Running environment . But it's strange , I've already configured it , And on the terminal ...

  2. Remember something you often use linux command

    Remember something you often use linux command , For memo Use Tsinghua source pip: pip install django==1.11  tensorflow==1.4.0 keras==2.0.6 -i https://pyp ...

  3. Remember to solve it once cmd In the implementation of java Tips " Cannot find or load main class " The problem of

    There is a problem today : stay cmd Command line , use javac compile java The file can succeed , But with java Execution prompts “ Cannot find or load main class ”. Now record the cause of the problem and the solution . Let's first understand the system variables path and clas ...

  4. Java Of cmd To configure ( That is to say Java Of JDK Configuration and related common commands )—— Cannot find or load main class Solutions for

    Java Of cmd To configure ( That is to say Java Of JDK Configuration and related common commands ) —— Cannot find or load main class   Solutions for It's been a time of obsession with cmd Next Java Can't compile run problems . The main problems are described as follows : javac Orders can be positive ...

  5. Linux shell Add the character after running the command in “&” The role of

    In the morning, when you log in to the server to compile and run the server program , Learned to add characters after commands “&” after , sign out shell, The running command can continue to run . I don't know why , And to the Internet search the following , Understand a little ! The following are the clips searched : & Put it in ...

  6. Use FileZilla FTP Client Connect Vsftpd In execution LIST Prompt connection timeout after command

    Use FileZilla FTP Client Connect Vsftpd In execution LIST Prompt connection timeout after command . vi /etc/vsftpd/vsftpd.conf add to : # Turn on passive mode pasv_enabl ...

  7. Linux How to keep gnome-terminal The window stays after executing the command without closing immediately (gnome-terminal -x)

    Linux How to keep gnome-terminal The window stays after executing the command without closing immediately (gnome-terminal -x) from :http://jakfruit.blog.163.com/blog/stat ...

  8. linux Use man Exit after command

    linux Use man After the command Use q sign out

  9. stay Ubuntu Run under apt-get update Error after command :

    stay Ubuntu Run under apt-get update Error after command : The package lists or status file could not be parsed or opened sud ...

  10. Virtual host connection FTP send out "AUTH TLS" Prompt after command “ Can't connect to the server ”

    https://help.aliyun.com/knowledge_detail/36417.html?spm=5176.11065259.1996646101.searchclickresult.7 ...

Random recommendation

  1. shell Study

    set -x Enter debugging mode , It will print out the actual execution of each command , That is, it will print out the extended parameters . set +x Exit debug mode custom variables :x=7,y=8echo `expr $x + $y` ...

  2. simulation ATM Machine banking system

    Zibo Han enterprise Java Basic assessment items Simulate the bank self-service terminal system One .  This system simulates the use of bank users ATM Machine account opening . Inquire about . deposit . Withdrawal function , Required java Language programming implementation . explain : 1.  For data input exceptions , You can use java Abnormal place ...

  3. Called in assembly code C function

    about ARM In terms of system , Functions written in different languages call each other (mix calls) It follows ATPCS(ARM-Thumb Procedure Call Standard),ATPCS It mainly defines the parameters of function call ...

  4. U8 Summary of bookkeeping voucher modification methods

    When you enter a bookkeeping document , Although the accounting system provides a variety of error control measures , But the appearance of wrong certificate is inevitable , So , The system must be able to modify the wrong voucher . at present , A lot of money Business software ( Such as : The friend . Anyi . Three doors ) provide “ De audit . Reverse bookkeeping . Anti knot ...

  5. be based on easyui Validation extension for

    be based on easyui Validation extension for ## Preface I've been working on my own projects for several years , I haven't had time to organize my own code , Take advantage of the Spring Festival , I sorted out my previous code . This is based on easyui1.2.6 Some validation extensions of ,2012 Since ...

  6. F4IF_FIELD_VALUE_REQUEST and F4IF_INT_TABLE_VALUE_REQUEST Different

    F4IF_FIELD_VALUE_REQUEST and F4IF_INT_TABLE_VALUE_REQUEST Different F4IF_FIELD_VALUE_REQUEST The main function is to map the fields in the table to sea ...

  7. Onsen UI The front frame ( Two )

    The last chapter introduced OnsenUI Some basic knowledge and it and AngularJS Initialization method of coordination . This chapter , Let's continue to introduce this content , Yes OnsenUI Provide components for further learning . Let's start from the top of the mobile app layout . ...

  8. parse_str()  Function to parse a query string into a variable .

    Definition and Usage parse_str() Function to parse a query string into a variable . notes : If not set array Parameters , Then the variable set by this function will overwrite the existing variable with the same name . notes :php.ini In the document magic_quo ...

  9. Java Elasticsearch Beginner's Guide

    Summary : 1. Use Eclipse build Elasticsearch Please refer to the following link for details 2.Java Elasticsearch To configure 3.ElasticSearch Java Api( One ) - Add data, create index ...

  10. Java Method area (Method Area)

    Methods area and Java Pile up , Is an area of memory Shared by each thread , It is storing class information that has been loaded by the virtual machine , Constant , Static variables , Real time compiler compiled code and other data , although Java The virtual machine specification describes the method area as a logical part of the heap , But he has one person ...