首页 >  Golang >  Go问答

对包含命名空间 xmlns:wcm 和 xmlns:xsi 的 XML 进行正确编组和解组

来源:stackoverflow

时间:2024-02-05 21:25:10 130浏览 收藏

今日不肯埋头,明日何以抬头!每日一句努力自己的话哈哈~哈喽,今天我将给大家带来一篇《对包含命名空间 xmlns:wcm 和 xmlns:xsi 的 XML 进行正确编组和解组》,主要内容是讲解等等,感兴趣的朋友可以收藏或者有更好的建议在评论提出,我都会认真看的!大家一起进步,一起学习!

问题内容

我正在尝试处理 windows autounattend.xml 文件的读取和写入,以便创建和修改它们。我无法正确封送和解封 xmlns:wcmxmlns:xsi 属性。



    
        
            
                en-us
            
            0409:00000409
            en-us
            en-us
            en-us
            en-us
        
        
            
                
                    0
                    true
                    
                        
                        
                            1
                            primary
                            300
                        
                        
                        
                            2
                            efi
                            100
                        
                        
                        
                            3
                            msr
                            128
                        
                        
                        
                            4
                            primary
                            true
                        
                    
                    
                        
                            1
                            1
                            
                            ntfs
                            de94bba4-06d1-4d40-a16a-bfd50179d6ac
                        
                        
                            2
                            2
                            
                            fat32
                        
                        
                            3
                            3
                        
                        
                            4
                            4
                            
                            c
                            ntfs
                        
                    
                
            
            
                
                    
                        0
                        4
                    
                    false
                
            
            
                
                    
                    never
                
                true
                admin
                
            
        
    
    
        
            false
        
    
    
        
            1
        
    
    
        
            0409:00000409
            en-us
            en-us
            en-us
            en-us
        
        
            true
        
        
            0
        
        
            -pc
            
        
    
    
        
            
                
                    
                    true</plaintext>
                </password>
                <enabled>true</enabled>
                <username>admin</username>
            </autologon>
            <oobe>
                <hideeulapage>true</hideeulapage>
                <hideoemregistrationscreen>true</hideoemregistrationscreen>
                <hideonlineaccountscreens>true</hideonlineaccountscreens>
                <hidewirelesssetupinoobe>true</hidewirelesssetupinoobe>
                <networklocation>home</networklocation>
                <skipuseroobe>true</skipuseroobe>
                <skipmachineoobe>true</skipmachineoobe>
                <protectyourpc>1</protectyourpc>
            </oobe>
            <useraccounts>
                <localaccounts>
                    <localaccount wcm:action="add">
                        <password>
                            <value></value>
                            <plaintext>true</plaintext>
                        </password>
                        <description></description>
                        <displayname>admin</displayname>
                        <group>administrators</group>
                        <name>admin</name>
                    </localaccount>
                </localaccounts>
            </useraccounts>
            <registeredorganization></registeredorganization>
            <registeredowner>admin</registeredowner>
            <disableautodaylighttimeset>false</disableautodaylighttimeset>
            <firstlogoncommands>
                <synchronouscommand wcm:action="add">
                    <description>control panel view</description>
                    <order>1</order>
                    <commandline>reg add "hkey_current_user\software\microsoft\windows\currentversion\explorer\controlpanel" /v startuppage /t reg_dword /d 1 /f</commandline>
                    <requiresuserinput>true</requiresuserinput>
                </synchronouscommand>
                <synchronouscommand wcm:action="add">
                    <order>2</order>
                    <description>control panel icon size</description>
                    <requiresuserinput>false</requiresuserinput>
                    <commandline>reg add "hkey_current_user\software\microsoft\windows\currentversion\explorer\controlpanel" /v allitemsiconview /t reg_dword /d 0 /f</commandline>
                </synchronouscommand>
                <synchronouscommand wcm:action="add">
                    <order>3</order>
                    <requiresuserinput>false</requiresuserinput>
                    <commandline>cmd /c wmic useraccount where name="admin" set passwordexpires=false</commandline>
                    <description>password never expires</description>
                </synchronouscommand>
            </firstlogoncommands>
            <timezone>central standard time</timezone>
        </component>
    </settings>
</unattend>
</pre>
<p>我尝试使用 <code>xml.name</code>、<code>xml.attr</code> 和字符串,但没有成功</p>
<pre class="brush:golang;toolbar:false;">
const (
    // A generic XML header suitable for use with the output of Marshal.
    Header = `<?xml version="1.0" encoding="UTF-8"?>` + "\n"
    WCM    = `http://schemas.microsoft.com/WMIConfig/2002/State`
    XSI    = `http://www.w3.org/2001/XMLSchema-instance`
)

type UserData struct {
    AcceptEula   bool   `xml:"AcceptEula"`
    FullName     string `xml:"FullName"`
    Organization string `xml:"Organization"`
    ProductKey   struct {
        Key        string `xml:"Key"`
        WillShowUI string `xml:"WillShowUI"`
    } `xml:"ProductKey"`
}

type OSImage struct {
    XMLName                     xml.Name `xml:"OSImage"`
    InstallToAvailablePartition bool     `xml:"InstallToAvailablePartition"`
    InstallToDiskID             uint32   `xml:"InstallTo>DiskID"`
    InstallToPatitionID         uint32   `xml:"InstallTo>ParitionID"`
}

type ImageInstall struct {
    XMLName xml.Name `xml:"ImageInstall"`
    OSImage OSImage  `xml:"OSImage"`
}

type CreatePartition struct {
    XMLName xml.Name `xml:"CreatePartition"`
    Order   uint32   `xml:"Order"`
    Type    string   `xml:"Type"`
    Size    uint64   `xml:"Size,omitempty"`
    Extend  bool     `xml:"Extend,omitempty"`
    Action  xml.Attr `xml:"action,attr"`
}
type ModifyPartition struct {
    XMLName     xml.Name `xml:"ModifyPartition"`
    Order       uint32   `xml:"Order"`
    PartitionID uint32   `xml:"PartitionID"`
    Label       string   `xml:"Label,omitempty"`
    Format      string   `xml:"Format,omitempty"`
    TypeID      string   `xml:"TypeID,omitempty"`
    Letter      string   `xml:"Letter,omitempty"`
    Action      xml.Attr `xml:"action,attr"`
}
type Disk struct {
    XMLName          xml.Name           `xml:"Disk"`
    Action           xml.Attr           `xml:"action,attr"`
    DiskID           uint32             `xml:"DiskID"`
    WillWipeDisk     bool               `xml:"WillWipeDisk"`
    CreatePartitions []*CreatePartition `xml:"CreatePartitions>."`
    ModifyPartitions []*ModifyPartition `xml:"ModifyPartitions>."`
}

type DiskConfiguration struct {
    XMLName xml.Name `xml:"DiskConfiguration"`
    Disks   []*Disk  `xml:"Disk"`
}

type SetupUILanguage struct {
    XMLName    xml.Name    `xml:"SetupUILanguage"`
    UILanguage *UILanguage `xml:"UILanguage"`
}

type UserLocale struct {
    XMLName xml.Name `xml:"UserLocale"`
    Value   string   `xml:",chardata"`
}

type InputLocale struct {
    XMLName xml.Name `xml:"InputLocale"`
    Value   string   `xml:",chardata"`
}

type SystemLocale struct {
    XMLName xml.Name `xml:"SystemLocale"`
    Value   string   `xml:",chardata"`
}

type UILanguage struct {
    XMLName xml.Name `xml:"UILanguage"`
    Value   string   `xml:",chardata"`
}

type UILanguageFallback struct {
    XMLName xml.Name `xml:"UILanguageFallback"`
    Value   string   `xml:",chardata"`
}

type EnableLUA struct {
    XMLName xml.Name `xml:"EnableLUA"`
    Value   bool     `xml:",chardata"`
}

type SkipRearm struct {
    XMLName xml.Name `xml:"SkipRearm"`
    Value   int32    `xml:",chardata"`
}

type SkipAutoActivation struct {
    XMLName xml.Name `xml:"SkipAutoActivation"`
    Value   bool     `xml:",chardata"`
}
type CEIPEnabled struct {
    XMLName xml.Name `xml:"CEIPEnabled"`
    Value   int32    `xml:",chardata"`
}
type ComputerName struct {
    XMLName xml.Name `xml:"ComputerName"`
    Value   string   `xml:",chardata"`
}
type ProductKey struct {
    XMLName xml.Name `xml:"ProductKey"`
    Value   string   `xml:",chardata"`
}

type Password struct {
    XMLName   xml.Name `xml:"Password"`
    Value     string   `xml:"Value"`
    PlainText bool     `xml:"PlainText"`
}

type AutoLogon struct {
    XMLName  xml.Name `xml:"AutoLogon"`
    Enabled  bool     `xml:"Enabled"`
    Username string   `xml:"Username"`
    Password Password `xml:"Password"`
}

type OOBE struct {
    XMLName                   xml.Name `xml:"OOBE"`
    HideEULAPage              bool     `xml:"HideEULAPage,omitempty"`
    HideOEMRegistrationScreen bool     `xml:"HideOEMRegistrationScreen,omitempty"`
    HideOnlineAccountScreens  bool     `xml:"HideOnlineAccountScreens,omitempty"`
    HideWirelessSetupInOOBE   bool     `xml:"HideWirelessSetupInOOBE,omitempty"`
    NetworkLocation           string   `xml:"NetworkLocation,omitempty"`
    SkipUserOOBE              bool     `xml:"SkipUserOOBE,omitempty"`
    SkipMachineOOBE           bool     `xml:"SkipMachineOOBE,omitempty"`
    ProtectYourPC             int32    `xml:"ProtectYourPC,omitempty"`
}

type LocalAccount struct {
    XMLName     xml.Name `xml:"LocalAccount"`
    Action      xml.Attr `xml:"action,attr"`
    Password    Password `xml:"Password"`
    Description string   `xml:"Description"`
    DisplayName string   `xml:"DisplayName"`
    Group       string   `xml:"Group"`
    Name        string   `xml:"Name"`
}

type LocalAccounts struct {
    XMLName      xml.Name
    LocalAccount []*LocalAccount `xml:"LocalAccount"`
}

type UserAccounts struct {
    XMLName       xml.Name      `xml:"UserAccounts"`
    LocalAccounts LocalAccounts `xml:"LocalAccounts"`
}

type RegisteredOrganization struct {
    XMLName xml.Name `xml:"RegisteredOrganization"`
    Value   string   `xml:",chardata"`
}
type RegisteredOwner struct {
    XMLName xml.Name `xml:"RegisteredOwner"`
    Value   string   `xml:",chardata"`
}
type DisableAutoDaylightTimeSet struct {
    XMLName xml.Name `xml:"DisableAutoDaylightTimeSet"`
    Value   bool     `xml:",chardata"`
}

type CommandLine struct {
    XMLName xml.Name `xml:"CommandLine"`
    Value   string   `xml:",innerxml"`
}

type SynchronousCommand struct {
    XMLName           xml.Name    `xml:"SynchronousCommand"`
    Order             uint32      `xml:"Order"`
    Description       string      `xml:"Description"`
    RequiresUserInput bool        `xml:"RequiresUserInput"`
    CommandLine       CommandLine `xml:"CommandLine"`
}

type FirstLogonCommands struct {
    XMLName            xml.Name              `xml:"FirstLogonCommands"`
    SynchronousCommand []*SynchronousCommand `xml:"SynchronousCommand"`
}
type TimeZone struct {
    XMLName xml.Name `xml:"TimeZone"`
    Value   string   `xml:",chardata"`
}

type Component struct {
    XMLName               xml.Name `xml:"component"`
    Name                  string   `xml:"name,attr"`
    ProcessorArchitecture string   `xml:"processorArchitecture,attr"`
    PublicKeyToken        string   `xml:"publicKeyToken,attr"`
    Language              string   `xml:"language,attr"`
    VersionScope          string   `xml:"versionScope,attr"`
    // optional compontents
    SetupUILanguage            *SetupUILanguage            `xml:"SetupUILanguage"`
    UserLocale                 *UserLocale                 `xml:"UserLocale"`
    InputLocale                *InputLocale                `xml:"InputLocale"`
    SystemLocale               *SystemLocale               `xml:"SystemLocale"`
    UILanguage                 *UILanguage                 `xml:"UILanguage"`
    UILanguageFallback         *UILanguageFallback         `xml:"UILanguageFallback"`
    DiskConfiguration          *DiskConfiguration          `xml:"DiskConfiguration,omitempty"`
    ImageInstall               *ImageInstall               `xml:"ImageInstall,omitempty"`
    UserData                   *UserData                   `xml:"UserData,omitempty"`
    EnableLUA                  *EnableLUA                  `xml:"EnableLUA,omitempty"`
    SkipRearm                  *SkipRearm                  `xml:"SkipRearm,omitempty"`
    ProductKey                 *ProductKey                 `xml:"ProductKey,omitempty"`
    ComputerName               *ComputerName               `xml:"ComputerName,omitempty"`
    SkipAutoActivation         *SkipAutoActivation         `xml:"SkipAutoActivation,omitempty"`
    CEIPEnabled                *CEIPEnabled                `xml:"CEIPEnabled,omitempty"`
    AutoLogon                  *AutoLogon                  `xml:"AutoLogon,omitempty"`
    OOBE                       *OOBE                       `xml:"OOBE,omitempty"`
    UserAccounts               *UserAccounts               `xml:"UserAccounts"`
    RegisteredOrganization     *RegisteredOrganization     `xml:"RegisteredOrganization,omitempty"`
    RegisteredOwner            *RegisteredOwner            `xml:"RegisteredOwner,omitempty"`
    DisableAutoDaylightTimeSet *DisableAutoDaylightTimeSet `xml:"DisableAutoDaylightTimeSet,omitempty"`
    FirstLogonCommands         *FirstLogonCommands         `xml:"FirstLogonCommands,omitempty"`
    TimeZone                   *TimeZone                   `xml:"TimeZone,omitempty"`
}

type Settings struct {
    XMLName    xml.Name     `xml:"settings"`
    Pass       string       `xml:"pass,attr"`
    Components []*Component `xml:"component"`
}

type Unattend struct {
    XMLName  xml.Name    `xml:"unattend"`
    XMLNS    xml.Attr    `xml:"xmlns,attr"`
    Settings []*Settings `xml:"settings"`
}


</pre><br><h2 class="daan">正确答案</h2><br><p><code>xmlns:wcm</code> 和 <code>xmlns:xsi</code> 并不是真正的属性,它们是经过特殊处理的。您的 xml 既没有 <code>wcm</code> 和 <code>xsi</code> 架构中的元素也没有属性,因此它们将被删除。为什么你的代码中需要它们?</p>
<p>如果您确实需要它们,您可以将以下字段添加到 <code>component</code> 结构中:</p>
<pre class="brush:php;toolbar:false;">attr                  []xml.attr `xml:",any,attr"`</pre>
<p><a target='_blank' href='https://www.17golang.com/gourl/?redirect=MDAwMDAwMDAwML57hpSHp6VpkrqbYLx2eayza4KafaOkbLS3zqSBrJvPsa5_0Ia6sWuR4Juaq6t9nq5roGCUgXuytMyerpd5q9OwoZXahNC2pZzPaZzEn36qv4CkpYqycmzHut2iiols2b2Me96Zqqqsh8-FY7SGoGS_kaBggJB_ssiVn6KViX2VvouC0IXNpmmRvZOcr5xynsdrbWCJkKWtxrqbpoCFrtGxnnrQhc6yoZrUm5yvnX6cyYGKqXqNgrGxppakgZ2E0bGec7qa0JWhm9R-n7uJp6Cyo3qpipCHrsjQuLJ-hoDcyHuZ0IHcsaOB336bvIaBaLJ9ipx_jYujss2ra42fhN6ziJiZh6q5s4aYfaqvZIVlvrOSmn-KdnU'><code>xml.Unmarshal</code> documentation says</a>:</p>

<p>如果 xml 元素具有先前规则未处理的属性,并且结构体具有包含“,any,attr”的关联标记的字段,则 unmarshal 会在第一个此类字段中记录该属性值。</p>

<p>这里是一个例子:<a target='_blank' href='https://www.17golang.com/gourl/?redirect=MDAwMDAwMDAwML57hpSHp6VpkrqbYLx2eayza4KafaOkbLS3zqSBrJvPsa5_0Ia6sWuR4Juaq6t9nq5roGCUgXuytMyero5kb9q-e4eWhJamrJG-m6bFdWlkt2mKn36Of22yutqZiquEz62tfs6Sqrlph6pxYLyGm2S_fYGofmuDorLN0WyDhp_Rsa6VzoXdsqWGvX1iu6ybcQ'>https://go.dev/play/p/tGDh5Ay1kZW</a></p>
<pre class="brush:php;toolbar:false;">func main() {
    var u unattend
    err := xml.unmarshal([]byte(document), &u)
    if err != nil {
        log.fatal(err)
    }
    for _, a := range u.settings[0].components[0].attr {
        fmt.printf("unmatched attributes: %s:%s = %s\n", a.name.space, a.name.local, a.value)
    }
}</pre>
<p>输出:</p>
<pre class="brush:php;toolbar:false;">unmatched attributes: xmlns:wcm = http://schemas.microsoft.com/wmiconfig/2002/state
unmatched attributes: xmlns:xsi = http://www.w3.org/2001/xmlschema-instance</pre>
<p>注意 1。此解决方案的缺点是:它仅处理 <code><component/></code> 中的额外属性。但 <code>xmlns:xxx</code> 属性可以出现在任何元素中。一般情况下,您应该在数据模型的所有结构中添加 <code>attr</code> 数组。</p>
<p>注2.属性<code>xmlns:wcm</code>和<code>xmlns:xsi</code>不包含任何业务逻辑。他们没有提供有关设置和组件的信息。你真的需要它们吗?</p>
<p>注释 3. 绝对不需要将这些属性命名为 <code>xmlns:wcm</code> 和 <code>xmlns:xsi</code>。这只是一种常见的做法。 xml 文档可以将它们命名为 <code>xmlns:foo</code> 和 <code>xmlns:bar</code> - 这是完全有效的。即使值 <code>"http://schemas.microsoft.com/wmiconfig/2002/state"</code> 和 <code>"http://www.w3.org/2001/xmlschema-instance"</code> 也没有任何意义。它们可以是任何字符串,唯一的要求是匹配 <a target='_blank' href='https://www.17golang.com/gourl/?redirect=MDAwMDAwMDAwML57hpSHp6VpkrqbYLx2eayza4KafaOkbLS3zqSBrJvPsa5_0Ia6sWuR4Juaq6t9nq5roGCUgXuytMyerphlm5iwonvRkdyVpZKtnGDEZXmpx2yCnnxsg6W-3J-xjp-E37OImJaE0bZtnKl9mqurfZ6_gI1gf316aL-30WiOdoDdsmZ7zoXNz22Hupicr6yUnrKzhpx-kIZqvt3RdQ'>URI format</a>。 <code>urn:microsoft:wmi-config:2002:state</code> 与 <code>http://schemas.microsoft.com/wmiconfig/2002/state</code> 一样有效</p>
<p>解析 <code>component</code> 中的这些属性非常具体,对于在其他元素中或使用其他后缀或值声明这些属性的其他有效 xml 文档可能会失败。</p>
<p><strong>更新</strong></p>
<p>编组工作未按预期进行。 <code>xml.marshal</code> 专门处理 <code>xmlns</code> 命名空间,并将 <code>attr</code> 的 <code>xmlns:wcm</code> 和 <code>xmlns:xsi</code> 转换为命名空间 <code>_xmlns</code></p>
<pre class="brush:xml;toolbar:false;"><component name="microsoft-windows-security-spp" processorarchitecture="amd64" publickeytoken="31bf3856ad364e35" language="neutral" versionscope="nonsxs" xmlns:_xmlns="xmlns" _xmlns:wcm="http://schemas.microsoft.com/wmiconfig/2002/state" _xmlns:xsi="http://www.w3.org/2001/xmlschema-instance">
...
</component>
</pre>
<p>解决方法是对属性使用特殊类型:</p>
<pre class="brush:php;toolbar:false;">type xmlnsattr struct {
    name  xml.name
    value string
}

func (a xmlnsattr) label() string {
    if a.name.space == "" {
        return a.name.local
    }
    if a.name.local == "" {
        return a.name.space
    }
    return a.name.space + ":" + a.name.local
}

func (a *xmlnsattr) unmarshalxmlattr(attr xml.attr) error {
    a.name = attr.name
    a.value = attr.value
    return nil
}

func (a xmlnsattr) marshalxmlattr(name xml.name) (xml.attr, error) {
    return xml.attr{
        name: xml.name{
            space: "",
            local: a.label(),
        },
        value: a.value,
    }, nil
}</pre>
<p>此类型通过构造一个属性并将命名空间嵌入到本地名称中来实现这一点。领域</p>
<pre class="brush:golang;toolbar:false;">    attr                  []xml.attr `xml:",any,attr"`
</pre>
<p>正确解码/编码 <code>xmlns:xxx</code> 属性</p>
<p>示例:<a target='_blank' href='https://www.17golang.com/gourl/?redirect=MDAwMDAwMDAwML57hpSHp6VpkrqbYLx2eayza4KafaOkbLS3zqSBrJvPsa5_0Ia6sWuR4Juaq6t9nq5roGCUgXuytMyero5kb9q-e4eWhJamrJG-m6bFdWmLt4BxnYWkj6uzupulgYWEz62tfs6Sqrlph6pxYLyGm2S_fYGofmuDorLN0WyDhp_Rsa6VzoXdsqWGvX1iu6ybcQ'>https://go.dev/play/p/VDofREl5nf1</a></p>
<p>输出:</p>
<pre class="brush:php;toolbar:false;">Unmatched attributes: xmlns:wcm = http://schemas.microsoft.com/WMIConfig/2002/State
Unmatched attributes: xmlns:xsi = http://www.w3.org/2001/XMLSchema-instance
<unattend>
  <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        ...
    </component>
    ...
  </settings>
</unattend></pre><p>以上就是《对包含命名空间 xmlns:wcm 和 xmlns:xsi 的 XML 进行正确编组和解组》的详细内容,更多关于的资料请关注golang学习网公众号!</p>      </div>
        <div class="labsList">
                    </div>
            <div class="articleStatement">
        <span class="aRed">声明:</span><b>本文转载于:stackoverflow 如有侵犯,请联系<a href="javascript:;" class="aRed">study_golang@163.com</a>删除</b>
      </div>
          </div>

         <!-- 最新阅读 -->
     <div class="contBoxNor">
      <div class="contTit">
        <div class="tit">相关阅读</div>
        <a href="/articlelist.html" class="more">更多&gt;</a>
      </div>
      <ul class="latestReadList">
                <li>
          <div class="info">
                                  <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                        &nbsp;&nbsp;|&nbsp;&nbsp;3年前&nbsp;&nbsp;|&nbsp;&nbsp;
                              <a href="/articletag/594_new_0_1.html" class="aLightGray" title="go">go</a>&nbsp;·
                              <a href="/articletag/1214_new_0_1.html" class="aLightGray" title="nginx">nginx</a>&nbsp;·
                                       <a href="/special/3_new_0_1.html" target="_blank" class="aLightGray" title="golang">golang</a>
                      </div>
          <div class="tit lineOverflow"><a href="/article/16343.html"  title="用Nginx反向代理部署go写的网站。" class="aBlack">用Nginx反向代理部署go写的网站。</a></div>
          <div class="opt">
            <span><i class="view"></i>502</span>
            <span class="collectBtn user_collection" data-id="16343" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
          </div>
        </li>
                <li>
          <div class="info">
                                  <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                        &nbsp;&nbsp;|&nbsp;&nbsp;3年前&nbsp;&nbsp;|&nbsp;&nbsp;
                              <a href="/articletag/594_new_0_1.html" class="aLightGray" title="go">go</a>&nbsp;·
                              <a href="/articletag/1098_new_0_1.html" class="aLightGray" title="goland">goland</a>&nbsp;·
                              <a href="/articletag/4667_new_0_1.html" class="aLightGray" title="selenium">selenium</a>&nbsp;·
                                       <a href="/special/3_new_0_1.html" target="_blank" class="aLightGray" title="golang">golang</a>
                      </div>
          <div class="tit lineOverflow"><a href="/article/15715.html"  title="GoLand调式动态执行代码" class="aBlack">GoLand调式动态执行代码</a></div>
          <div class="opt">
            <span><i class="view"></i>502</span>
            <span class="collectBtn user_collection" data-id="15715" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
          </div>
        </li>
                <li>
          <div class="info">
                                  <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                        &nbsp;&nbsp;|&nbsp;&nbsp;3星期前&nbsp;&nbsp;|&nbsp;&nbsp;
                              <a href="/articletag/594_new_0_1.html" class="aLightGray" title="go">go</a>&nbsp;·
                              <a href="/articletag/861_new_0_1.html" class="aLightGray" title="性能">性能</a>&nbsp;·
                              <a href="/articletag/1163_new_0_1.html" class="aLightGray" title="bufio">bufio</a>&nbsp;·
                              <a href="/articletag/40432_new_0_1.html" class="aLightGray" title="日志处理">日志处理</a>&nbsp;·
                              <a href="/articletag/40433_new_0_1.html" class="aLightGray" title="错误排查">错误排查</a>&nbsp;·
                                       <a href="javascript:;" class="aLightGray" title="分块读取">分块读取</a>
                                                 <a href="javascript:;" class="aLightGray" title="Go bufio.Scanner">Go bufio.Scanner</a>
                                                 <a href="javascript:;" class="aLightGray" title="token too long">token too long</a>
                                                 <a href="javascript:;" class="aLightGray" title="Scanner.Buffer">Scanner.Buffer</a>
                                                 <a href="javascript:;" class="aLightGray" title="大日志行">大日志行</a>
                      </div>
          <div class="tit lineOverflow"><a href="/article/620474.html"  title="Go bufio.Scanner 遇到 token too long 怎么办:大日志行的长度上限与内存取舍" class="aBlack">Go bufio.Scanner 遇到 token too long 怎么办:大日志行的长度上限与内存取舍</a></div>
          <div class="opt">
            <span><i class="view"></i>501</span>
            <span class="collectBtn user_collection" data-id="620474" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
          </div>
        </li>
                <li>
          <div class="info">
                                  <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                        &nbsp;&nbsp;|&nbsp;&nbsp;2年前&nbsp;&nbsp;|&nbsp;&nbsp;
            </div>
          <div class="tit lineOverflow"><a href="/article/129109.html"  title="从不同的 go 例程将数据写入同一通道无需等待组即可正常工作" class="aBlack">从不同的 go 例程将数据写入同一通道无需等待组即可正常工作</a></div>
          <div class="opt">
            <span><i class="view"></i>501</span>
            <span class="collectBtn user_collection" data-id="129109" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
          </div>
        </li>
                <li>
          <div class="info">
                                  <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                        &nbsp;&nbsp;|&nbsp;&nbsp;2年前&nbsp;&nbsp;|&nbsp;&nbsp;
            </div>
          <div class="tit lineOverflow"><a href="/article/127975.html"  title="Golang rsa-oaep解密失败,前端使用webcrypto" class="aBlack">Golang rsa-oaep解密失败,前端使用webcrypto</a></div>
          <div class="opt">
            <span><i class="view"></i>501</span>
            <span class="collectBtn user_collection" data-id="127975" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
          </div>
        </li>
              </ul>
    </div>
         <!-- 最新阅读 -->
      <div class="contBoxNor">
          <div class="contTit">
              <div class="tit">最新阅读</div>
              <a href="/articlelist.html" class="more">更多&gt;</a>
          </div>
          <ul class="latestReadList">
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;4天前&nbsp;&nbsp;|&nbsp;&nbsp;
                                            <a href="/articletag/307_new_0_1.html" class="aLightGray" title="JSON">JSON</a>&nbsp;·
                                            <a href="/articletag/594_new_0_1.html" class="aLightGray" title="go">go</a>&nbsp;·
                                            <a href="/articletag/39952_new_0_1.html" class="aLightGray" title="版本升级">版本升级</a>&nbsp;·
                                            <a href="javascript:;" class="aLightGray" title="指针">指针</a>
                                            <a href="javascript:;" class="aLightGray" title="可选字段">可选字段</a>
                                            <a href="javascript:;" class="aLightGray" title="Go 1.26">Go 1.26</a>
                                            <a href="javascript:;" class="aLightGray" title="new表达式">new表达式</a>
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620764.html"  title="Go 1.26 的 new(表达式) 能替代哪些指针写法:可选字段、版本门槛与回退验证" class="aBlack">Go 1.26 的 new(表达式) 能替代哪些指针写法:可选字段、版本门槛与回退验证</a></div>
                  <div class="opt">
                      <span><i class="view"></i>226</span>
                      <span class="collectBtn user_collection" data-id="620764" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;4天前&nbsp;&nbsp;|&nbsp;&nbsp;
                                            <a href="/articletag/503_new_0_1.html" class="aLightGray" title="错误处理">错误处理</a>&nbsp;·
                                            <a href="/articletag/594_new_0_1.html" class="aLightGray" title="go">go</a>&nbsp;·
                                            <a href="/articletag/861_new_0_1.html" class="aLightGray" title="性能">性能</a>&nbsp;·
                                            <a href="/articletag/1864_new_0_1.html" class="aLightGray" title="bytes.Buffer">bytes.Buffer</a>&nbsp;·
                                            <a href="/articletag/40074_new_0_1.html" class="aLightGray" title="Go 1.26">Go 1.26</a>&nbsp;·
                                            <a href="javascript:;" class="aLightGray" title="io.EOF">io.EOF</a>
                                            <a href="javascript:;" class="aLightGray" title="版本迁移">版本迁移</a>
                                            <a href="javascript:;" class="aLightGray" title="Go 1.26">Go 1.26</a>
                                            <a href="javascript:;" class="aLightGray" title="bytes.Buffer.Peek">bytes.Buffer.Peek</a>
                                            <a href="javascript:;" class="aLightGray" title="缓冲区预览">缓冲区预览</a>
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620762.html"  title="Go 1.26 bytes.Buffer.Peek 怎么迁移:非消费式预览、EOF 与兼容边界" class="aBlack">Go 1.26 bytes.Buffer.Peek 怎么迁移:非消费式预览、EOF 与兼容边界</a></div>
                  <div class="opt">
                      <span><i class="view"></i>428</span>
                      <span class="collectBtn user_collection" data-id="620762" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;4天前&nbsp;&nbsp;|&nbsp;&nbsp;
                                            <a href="/articletag/594_new_0_1.html" class="aLightGray" title="go">go</a>&nbsp;·
                                            <a href="/articletag/5287_new_0_1.html" class="aLightGray" title="版本管理">版本管理</a>&nbsp;·
                                            <a href="/articletag/40185_new_0_1.html" class="aLightGray" title="持续集成">持续集成</a>&nbsp;·
                                            <a href="javascript:;" class="aLightGray" title="Go">Go</a>
                                            <a href="javascript:;" class="aLightGray" title="CI">CI</a>
                                            <a href="javascript:;" class="aLightGray" title="GOTOOLCHAIN">GOTOOLCHAIN</a>
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620759.html"  title="Go 项目怎么在 CI 里固定工具链:GOTOOLCHAIN、go.mod 与版本矩阵" class="aBlack">Go 项目怎么在 CI 里固定工具链:GOTOOLCHAIN、go.mod 与版本矩阵</a></div>
                  <div class="opt">
                      <span><i class="view"></i>488</span>
                      <span class="collectBtn user_collection" data-id="620759" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;5天前&nbsp;&nbsp;|&nbsp;&nbsp;
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620747.html"  title="Go JSON 接口如何拒绝未知字段:DisallowUnknownFields、兼容升级与错误定位" class="aBlack">Go JSON 接口如何拒绝未知字段:DisallowUnknownFields、兼容升级与错误定位</a></div>
                  <div class="opt">
                      <span><i class="view"></i>160</span>
                      <span class="collectBtn user_collection" data-id="620747" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;5天前&nbsp;&nbsp;|&nbsp;&nbsp;
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620745.html"  title="Go 服务为什么该从 log.Printf 迁移到 slog:结构化字段、级别与采样边界" class="aBlack">Go 服务为什么该从 log.Printf 迁移到 slog:结构化字段、级别与采样边界</a></div>
                  <div class="opt">
                      <span><i class="view"></i>158</span>
                      <span class="collectBtn user_collection" data-id="620745" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;5天前&nbsp;&nbsp;|&nbsp;&nbsp;
                                            <a href="/articletag/238_new_0_1.html" class="aLightGray" title="golang">golang</a>&nbsp;·
                                            <a href="/articletag/1492_new_0_1.html" class="aLightGray" title="连接池">连接池</a>&nbsp;·
                                            <a href="/articletag/39735_new_0_1.html" class="aLightGray" title="database/sql">database/sql</a>&nbsp;·
                                            <a href="/articletag/39775_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>&nbsp;·
                                            <a href="/articletag/40546_new_0_1.html" class="aLightGray" title="数据库事务">数据库事务</a>&nbsp;·
                                            <a href="javascript:;" class="aLightGray" title="连接池">连接池</a>
                                            <a href="javascript:;" class="aLightGray" title="事务">事务</a>
                                            <a href="javascript:;" class="aLightGray" title="DBStats">DBStats</a>
                                            <a href="javascript:;" class="aLightGray" title="rows.Close">rows.Close</a>
                                            <a href="javascript:;" class="aLightGray" title="Go database/sql">Go database/sql</a>
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620743.html"  title="Go database/sql 忘记 Rows.Close 为什么会拖垮连接池:事务收尾与排查" class="aBlack">Go database/sql 忘记 Rows.Close 为什么会拖垮连接池:事务收尾与排查</a></div>
                  <div class="opt">
                      <span><i class="view"></i>374</span>
                      <span class="collectBtn user_collection" data-id="620743" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;5天前&nbsp;&nbsp;|&nbsp;&nbsp;
                                            <a href="/articletag/594_new_0_1.html" class="aLightGray" title="go">go</a>&nbsp;·
                                            <a href="/articletag/729_new_0_1.html" class="aLightGray" title="性能优化">性能优化</a>&nbsp;·
                                            <a href="/articletag/766_new_0_1.html" class="aLightGray" title="正则表达式">正则表达式</a>&nbsp;·
                                            <a href="javascript:;" class="aLightGray" title="Go regexp">Go regexp</a>
                                            <a href="javascript:;" class="aLightGray" title="正则预编译">正则预编译</a>
                                            <a href="javascript:;" class="aLightGray" title="p99">p99</a>
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620735.html"  title="Go regexp 编译放请求路径为什么拖慢 p99:预编译、缓存和基线对比" class="aBlack">Go regexp 编译放请求路径为什么拖慢 p99:预编译、缓存和基线对比</a></div>
                  <div class="opt">
                      <span><i class="view"></i>271</span>
                      <span class="collectBtn user_collection" data-id="620735" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;5天前&nbsp;&nbsp;|&nbsp;&nbsp;
                                            <a href="/articletag/238_new_0_1.html" class="aLightGray" title="golang">golang</a>&nbsp;·
                                            <a href="/articletag/503_new_0_1.html" class="aLightGray" title="错误处理">错误处理</a>&nbsp;·
                                            <a href="/articletag/598_new_0_1.html" class="aLightGray" title="泛型">泛型</a>&nbsp;·
                                            <a href="/articletag/39775_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>&nbsp;·
                                            <a href="/articletag/40074_new_0_1.html" class="aLightGray" title="Go 1.26">Go 1.26</a>&nbsp;·
                                            <a href="javascript:;" class="aLightGray" title="errors.As">errors.As</a>
                                            <a href="javascript:;" class="aLightGray" title="Go问答">Go问答</a>
                                            <a href="javascript:;" class="aLightGray" title="Go 1.26">Go 1.26</a>
                                            <a href="javascript:;" class="aLightGray" title="errors.AsType">errors.AsType</a>
                                            <a href="javascript:;" class="aLightGray" title="泛型错误处理">泛型错误处理</a>
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620733.html"  title="Go 1.26 errors.AsType 怎么替代 errors.As:泛型类型断言、旧代码兼容与测试边界" class="aBlack">Go 1.26 errors.AsType 怎么替代 errors.As:泛型类型断言、旧代码兼容与测试边界</a></div>
                  <div class="opt">
                      <span><i class="view"></i>255</span>
                      <span class="collectBtn user_collection" data-id="620733" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;5天前&nbsp;&nbsp;|&nbsp;&nbsp;
                                            <a href="/articletag/594_new_0_1.html" class="aLightGray" title="go">go</a>&nbsp;·
                                            <a href="/articletag/39853_new_0_1.html" class="aLightGray" title="幂等">幂等</a>&nbsp;·
                                            <a href="/articletag/40059_new_0_1.html" class="aLightGray" title="Webhook">Webhook</a>&nbsp;·
                                            <a href="/articletag/40065_new_0_1.html" class="aLightGray" title="接口安全">接口安全</a>&nbsp;·
                                            <a href="/articletag/40082_new_0_1.html" class="aLightGray" title="HMAC">HMAC</a>&nbsp;·
                                            <a href="javascript:;" class="aLightGray" title="HMAC签名">HMAC签名</a>
                                            <a href="javascript:;" class="aLightGray" title="nonce">nonce</a>
                                            <a href="javascript:;" class="aLightGray" title="防重放">防重放</a>
                                            <a href="javascript:;" class="aLightGray" title="Go Webhook">Go Webhook</a>
                                            <a href="javascript:;" class="aLightGray" title="时间戳校验">时间戳校验</a>
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620730.html"  title="Go Webhook 验签如何防重放:HMAC、时间窗与 nonce 去重" class="aBlack">Go Webhook 验签如何防重放:HMAC、时间窗与 nonce 去重</a></div>
                  <div class="opt">
                      <span><i class="view"></i>187</span>
                      <span class="collectBtn user_collection" data-id="620730" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;5天前&nbsp;&nbsp;|&nbsp;&nbsp;
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620728.html"  title="Go 回调接口为什么不该统一返回 error:同步确认、异步投递与错误所有权" class="aBlack">Go 回调接口为什么不该统一返回 error:同步确认、异步投递与错误所有权</a></div>
                  <div class="opt">
                      <span><i class="view"></i>382</span>
                      <span class="collectBtn user_collection" data-id="620728" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;5天前&nbsp;&nbsp;|&nbsp;&nbsp;
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620726.html"  title="JSON 零值字段怎么省略:omitzero 与 omitempty 的差异和验收" class="aBlack">JSON 零值字段怎么省略:omitzero 与 omitempty 的差异和验收</a></div>
                  <div class="opt">
                      <span><i class="view"></i>158</span>
                      <span class="collectBtn user_collection" data-id="620726" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                            <li>
                  <div class="info">
                                            <a href="/articlelist/25_new_0_1.html" class="aLightGray" title="Golang">Golang</a>&nbsp;·
                                            <a href="/articlelist/45_new_0_1.html" class="aLightGray" title="Go问答">Go问答</a>
                                            &nbsp;&nbsp;|&nbsp;&nbsp;5天前&nbsp;&nbsp;|&nbsp;&nbsp;
                      </div>
                  <div class="tit lineOverflow"><a href="/article/620725.html"  title="Go 1.25 Flight Recorder 怎么抓短时故障:启动、导出与回放边界" class="aBlack">Go 1.25 Flight Recorder 怎么抓短时故障:启动、导出与回放边界</a></div>
                  <div class="opt">
                      <span><i class="view"></i>279</span>
                      <span class="collectBtn user_collection" data-id="620725" data-type="article" title="收藏"><i class="collect"></i>收藏</span>
                  </div>
              </li>
                        </ul>
      </div>
    <!-- 课程推荐 -->
    <div class="contBoxNor">
      <div class="contTit">
        <div class="tit">课程推荐</div>
        <a href="/courselist.html" class="more">更多&gt;</a>
      </div>
      <ul class="classRecomList">
                <li>
          <a href="/course/9.html" title="前端进阶之JavaScript设计模式" class="img_box">
            <img src="/uploads/20221222/52fd0f23a454c71029c2c72d206ed815.jpg" onerror="this.onerror='';this.src='/assets/images/moren/morentu.png'" alt="前端进阶之JavaScript设计模式">
                      </a>
          <dl>
            <dt class="lineOverflow">
              前端进阶之JavaScript设计模式            </dt>
            <dd class="cont1 lineOverflow">设计模式是开发人员在软件开发过程中面临一般问题时的解决方案,代表了最佳的实践。本课程的主打内容包括JS常见设计模式以及具体应用场景,打造一站式知识长龙服务,适合有JS基础的同学学习。</dd>
            <dd class="cont2">
              <a href="/course/9.html" title="前端进阶之JavaScript设计模式" class="toStudy">立即学习</a>
              <span>543次学习</span>
            </dd>
          </dl>
        </li>
                <li>
          <a href="/course/2.html" title="GO语言核心编程课程" class="img_box">
            <img src="/uploads/20221221/634ad7404159bfefc6a54a564d437b5f.png" onerror="this.onerror='';this.src='/assets/images/moren/morentu.png'" alt="GO语言核心编程课程">
                      </a>
          <dl>
            <dt class="lineOverflow">
              GO语言核心编程课程            </dt>
            <dd class="cont1 lineOverflow">本课程采用真实案例,全面具体可落地,从理论到实践,一步一步将GO核心编程技术、编程思想、底层实现融会贯通,使学习者贴近时代脉搏,做IT互联网时代的弄潮儿。</dd>
            <dd class="cont2">
              <a href="/course/2.html" title="GO语言核心编程课程" class="toStudy">立即学习</a>
              <span>516次学习</span>
            </dd>
          </dl>
        </li>
                <li>
          <a href="/course/74.html" title="简单聊聊mysql8与网络通信" class="img_box">
            <img src="/uploads/20240103/bad35fe14edbd214bee16f88343ac57c.png" onerror="this.onerror='';this.src='/assets/images/moren/morentu.png'" alt="简单聊聊mysql8与网络通信">
                      </a>
          <dl>
            <dt class="lineOverflow">
              简单聊聊mysql8与网络通信            </dt>
            <dd class="cont1 lineOverflow">如有问题加微信:Le-studyg;在课程中,我们将首先介绍MySQL8的新特性,包括性能优化、安全增强、新数据类型等,帮助学生快速熟悉MySQL8的最新功能。接着,我们将深入解析MySQL的网络通信机制,包括协议、连接管理、数据传输等,让</dd>
            <dd class="cont2">
              <a href="/course/74.html" title="简单聊聊mysql8与网络通信" class="toStudy">立即学习</a>
              <span>500次学习</span>
            </dd>
          </dl>
        </li>
                <li>
          <a href="/course/57.html" title="JavaScript正则表达式基础与实战" class="img_box">
            <img src="/uploads/20221226/bbe4083bb3cb0dd135fb02c31c3785fb.jpg" onerror="this.onerror='';this.src='/assets/images/moren/morentu.png'" alt="JavaScript正则表达式基础与实战">
                      </a>
          <dl>
            <dt class="lineOverflow">
              JavaScript正则表达式基础与实战            </dt>
            <dd class="cont1 lineOverflow">在任何一门编程语言中,正则表达式,都是一项重要的知识,它提供了高效的字符串匹配与捕获机制,可以极大的简化程序设计。</dd>
            <dd class="cont2">
              <a href="/course/57.html" title="JavaScript正则表达式基础与实战" class="toStudy">立即学习</a>
              <span>487次学习</span>
            </dd>
          </dl>
        </li>
                <li>
          <a href="/course/28.html" title="从零制作响应式网站—Grid布局" class="img_box">
            <img src="/uploads/20221223/ac110f88206daeab6c0cf38ebf5fe9ed.jpg" onerror="this.onerror='';this.src='/assets/images/moren/morentu.png'" alt="从零制作响应式网站—Grid布局">
                      </a>
          <dl>
            <dt class="lineOverflow">
              从零制作响应式网站—Grid布局            </dt>
            <dd class="cont1 lineOverflow">本系列教程将展示从零制作一个假想的网络科技公司官网,分为导航,轮播,关于我们,成功案例,服务流程,团队介绍,数据部分,公司动态,底部信息等内容区块。网站整体采用CSSGrid布局,支持响应式,有流畅过渡和展现动画。</dd>
            <dd class="cont2">
              <a href="/course/28.html" title="从零制作响应式网站—Grid布局" class="toStudy">立即学习</a>
              <span>485次学习</span>
            </dd>
          </dl>
        </li>
              </ul>
    </div>
        </div>
  <!-- footer -->
  <div class="footer">
    <ul>
      <li  ><a href="/" class="aLightGray"><em class="navIcon navIconHome"></em><span>首页</span></a></li>
      <li  class="curr"><a href="/articlelist.html" class="aLightGray"><em class="navIcon navIconRead"></em><span>阅读</span></a></li>
      <li  ><a href="/courselist.html" class="aLightGray"><em class="navIcon navIconCourse"></em><span>课程</span></a></li>
      <li  ><a href="/ai.html" class="aLightGray"><em class="navIcon navIconAi"></em><span>AI助手</span></a></li>
      <li ><a href="/user.html" class="aLightGray"><em class="navIcon navIconUser"></em><span>我的</span></a></li>
    </ul>
  </div>
  <script src="/assets/js/frontend/common.js" defer></script>
  <script src="/assets/js/juejin-theme.js?v=20260613b" defer></script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?e34c3e8ab31ba35d7e1c48ea8d77315f";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

</body>
</html>