Go cli Daily Library

Introduction to ## cli Is a library for building command line programs.We've previously described a library for building command line programs cobra .Functionally, they are similar, and cobra has the advantage of providing a scaffold for easy development.cli is very simple, all initialization is to create oneCli.AppThe object of the structure.A ...

Posted by printf on Tue, 23 Jun 2020 17:14:20 -0700

python_Interface Automated Test Framework

This article summarizes and introduces the development of interface test framework. The environment uses python3+selenium3+unittest+ddt+requests test framework and DDT data-driven, integrates test data functions such as Excel management test cases, and generates test reports using HTMLTestRunner. There are open source interface test tools such ...

Posted by newdles on Tue, 23 Jun 2020 16:54:17 -0700

Operational commands for elasticsearch indexes (core concepts, operational statements, and paging)

Article Directory 1. Description of put, post, delete, get methods 2. Data Models and Core Concepts 3. Basic operation of index 1. Create an index 2. View all current indexes 3. Modify (update) the document 4. Delete 5. Add data 6. Bulk operation data bulk 8. Bulk Read Documents 9. Search for data ...

Posted by Nukeum66 on Tue, 23 Jun 2020 09:06:32 -0700

Vue advanced use - use Element UI component library and Sass preprocessing language

@[TOC](Vue advanced use (3) - use Element UI component library and Sass css preprocessing language) Using Element UI third party component library 1. cnpm installation element UI dependency cnpm install element-ui --save At package.json Element UI version information can be seen in the file "depend ...

Posted by bow-viper1 on Tue, 23 Jun 2020 02:27:06 -0700

Brief analysis of Deno source code interaction between JS and Rust

start Today, we start to analyze how JS and Rust interact. After all, the performance of JS is still not competent in some scenarios. This is the time when Rust is on the stage. The two complement each other and do no harm! op I have always said that op is a plug-in mechanism on deno. All functions on deno are basically based on this plug-in me ...

Posted by limao on Mon, 22 Jun 2020 22:36:23 -0700

Hand in hand to teach you to write a visual code generator based on sqlsugar 4 (generate entity, take SqlServer as an example, the source code is attached at the end of the article)

In the development process, it is inevitable to create entity classes. Tables with fewer fields can be written manually. However, if more fields are created manually, it is a waste of time. If a table has more than 100 fields, handwriting is not realistic. At this time, we will use some tools, such as dynamic soft code generator, code generator ...

Posted by bubbadawg on Mon, 22 Jun 2020 21:42:08 -0700

Introduction and implementation of Json field picker

Recently, I wrote a gadget for the convenience of work. The utility is very simple, which is to sift out the parts you want from a json string. introduce The background is like this. For the convenience of online debugging, a tool can simulate to launch a data request, and then display the results to the page in the form of json. But the probl ...

Posted by scofansnags on Mon, 22 Jun 2020 19:57:44 -0700

Designated email reading function of Python 3 + scratch + selenium Tencent enterprise mailbox

1. Recently, the manager was annoyed by the email, maybe too much, and wanted to read in batches and process the required data and send it to his interface, but Tencent's js was too many, too difficult, too much to read, too much to understand, manual dog head. So I'm going to use selenium to simulate t ...

Posted by wee_eric on Sun, 21 Jun 2020 22:42:48 -0700

From scratch, teach you how to use native JS+CSS3 to realize the game of fruit machine

Project experience address Free video tutorial Introduction to the game Lucky fruit machine is an arcade game. The game interface is made up of 24 squares, each of which has a different fruit figure and a small lamp. Players use the game currency to select the target they want to bet on. When they press the start button, the small lamp starts ...

Posted by thewooleymammoth on Sun, 21 Jun 2020 19:42:43 -0700

Elasticsearch Series - Index Management for Production Clusters

outline Indexing is one of the most frequent daily operations we use in Elasticsearch. This article takes a look at the indexing operations of Elasticsearch from the perspective of operations personnel. basic operation From the perspective of running children's shoes, let's take a look at the daily operation of the index in addition to CRUD, or ...

Posted by jossejf on Sun, 21 Jun 2020 17:38:00 -0700