Tag : Web

Data in modleList Map[12: Sect Management 1204: Sect Member Information Modification 22: Picture Management 10: Permission Management 1006: Assigning User’s Sectional Change Permission’ x 2103: Article Modification 1201: New Sect 13 Added 03: Sectarian Information Modification 2: Content Management 21: Article Management 2101: Article Addition 1001: Delete Permission 1005: Withdraw User Sectarian Change Permission 2104: ..

Read more

runtime.GOMAXPROCS(runtime.NumCPU()); // var redisAddress string // redisAddress=”127.0.0.1:6379″ // defer c.Close() //The 5th DB is used by default to store the session. //[code] The link pool between the database and redis is implemented here //[code] end // v := daocore.InitRedis(“tcp”,redisAddress) http.HandleFunc(“/login/login”, handler.Apply) http.ListenAndServe(“:8666”, nil) Can be called in handler.Apply If what you really want to know ..

Read more

I recently used golang for web development myself. However, it is found that the cpu utilization rate is always above 100%. I used go tool pprof to cut down the website performance chart for 30 seconds.On github. https://github.com/lijianying10/FixLinux/blob/master/picture/pprof.svgPlease ask the great god to help and see why the cpu takes up so much! Looking down ..

Read more

What steps should be taken to build a Golang web environment on VPS? First of all, Golang is the spelling of Go. In addition, Golang has no so-called Web environment, only Golang’s compiler. Golang’s compilation can compile Go code into an executable file, which can run on any machine on the specified architecture and does ..

Read more

Having just come into contact with go language, I want to use go to develop a website. What knowledge do I need? ? I used to be in c++. I didn’t pay attention to the web. I hope Daniel can give me some advice. The open source book recommended by the above friend is good. ..

Read more

Hello, everyone, here’s the thing.The computer equipped by the company is win10 system. When I installed sourcetree, I came to the registration page and did not show it anyway. It was always blank, which made it impossible for me to install it smoothly. I checked myself and also mentioned that there would be any problems ..

Read more