Menu

Text encoding processing in Golang

{{ product.price_format }}
{{ product.origin_price_format }}
Quantity:
SKU:{{ product.sku }}
Model: {{ product.model }}

{{ variable.name }}

{{ value.name }}

Introduction: In this course, the focus will be on the use of basic apis for text processing in Golang development, as well as how to perform XML encoding processing and command-line parsing. At the end of the course, through specific project cases of handling VS file lists and simulating command-line file copying, we will guide the students to quickly master the application of text encoding processing in the Golang language.

Chapter 1 Study Guide

Introduce the entire course

 

1-1 A Learning Guide to Text Encoding Processing in Golang

Chapter 2 Text String Operations

This chapter introduces the basic operations on strings in Golang and their mutual conversions

 

2-1 Basic Operations of Golang Strings

 

2-2 Golang String Conversion

Chapter 3 XML Encoding Processing

XML processing of struct object data, serialization and deserialization

 

3-1 Serialization and deserialization of struct Objects

Chapter 4 Command Line Parsing

This chapter will introduce how to perform command-line parsing using Golang

 

4-1 Use os.Args to obtain simple parameters

 

4-2 Use flags to obtain complex parameters

Chapter 5 Practical Application - Obtaining the Contents of the VS Project File List

How to obtain the content of the list of VS project files

 

5-1 Case Illustration

 

5-2 Obtain all node names

 

5-3 Obtain the specified node

 

5-4 Obtaining Node Attribute Values & Organizing thoughts

Chapter 6 Practical Application - Simulating Command Line File Copying

Realize the simulation of command-line file copying operations

 

6-1 Case Explanation (01:13)

 

6-2 Simulation Implementation of File Copy Function (Part 1)

 

6-3 Simulation Implementation of File Copy Function (Part 2)

Chapter 7 Summary

7-1 Summary