Tag:subpackage
-
Springboot source code – automatic configuration principle
The code to open the main program is as follows: @SpringBootApplication public class MainApplication { public static void main(String[] args) { SpringApplication.run(MainApplication.class, args); } } You can see that the main program is very simple, with only one annotation @springbootapplication, which is the core of springboot startup Click @springbootapplication to find that it is a […]
-
Solve the problem that the Axios package introduced into taro applet is too large
background We are using taro [email protected]/http(the company’s internal project, secondary development based on Axios), I found that there were many useless packages in the build product, resulting in the product becoming about 150kb larger.After some searching, it is found that the taro applet cannot parse package The browser module and other fields in JSON, and […]
-
Lerna basic usage (create, publish, command)
At present, the online tutorial of lerna is not very clear, so I organize and practice my own notes Create project $ mkdir lerna-repo && cd lerna-repo $ npm init //Local directory installation $ npm i lerna -D $ npx lerna init //Or global installation $ npm install –global lerna $ lerna init directory structure […]
-
Go microservices with clean architecture: program structure
I created a microservice using go and grpc and tried to figure out the best program structure that could be used as a template for my future programs. I found myself struggling between Java and go. I have written a series of articles on design decisions and trade-offs made in project work. This is the […]