Skip to content

Remove all features in dotweb#189

Merged
devfeel merged 2 commits intomasterfrom
develop
Feb 2, 2019
Merged

Remove all features in dotweb#189
devfeel merged 2 commits intomasterfrom
develop

Conversation

@devfeel
Copy link
Owner

@devfeel devfeel commented Feb 2, 2019

  • Remove: remove all features in dotweb!
  • Remove: remove ServerConfig().EnabledAutoCORS.
  • Add: add example/README.md
  • Demo for how to use ConfigSet tools?
    • first define config file named 'user-conf.xml'
    <?xml version="1.0" encoding="UTF-8"?>
    <config>
        <set key="set1" value="1" />
        <set key="set2" value="2" />
        <set key="set3" value="3" />
        <set key="set4" value="4" />
    </config>
    
    • include config file
    err := app.Config.IncludeConfigSet("/home/your/user-conf.xml", config.ConfigType_XML)
    
    • use it in your HttpContext
    value := ctx.ConfigSet().GetString("set1")
    
  • 2019-02-02 12:00

* Remove: remove all features in dotweb!
* Remove: remove ServerConfig().EnabledAutoCORS.
* Add: add example/README.md
* Demo for how to use ConfigSet tools?
    - first define config file named 'user-conf.xml'
    ```
    <?xml version="1.0" encoding="UTF-8"?>
    <config>
        <set key="set1" value="1" />
        <set key="set2" value="2" />
        <set key="set3" value="3" />
        <set key="set4" value="4" />
    </config>
    ```
    - include config file
    ```
    err := app.Config.IncludeConfigSet("/home/your/user-conf.xml", config.ConfigType_XML)
    ```
    - use it in your HttpContext
    ```
    value := ctx.ConfigSet().GetString("set1")
    ```
* 2019-02-02 12:00
* Remove: remove all features in dotweb!
* Remove: remove ServerConfig().EnabledAutoCORS.
* Add: add example/README.md
* Demo for how to use ConfigSet tools?
    - first define config file named 'user-conf.xml'
    ```
    <?xml version="1.0" encoding="UTF-8"?>
    <config>
        <set key="set1" value="1" />
        <set key="set2" value="2" />
        <set key="set3" value="3" />
        <set key="set4" value="4" />
    </config>
    ```
    - include config file
    ```
    err := app.Config.IncludeConfigSet("/home/your/user-conf.xml", config.ConfigType_XML)
    ```
    - use it in your HttpContext
    ```
    value := ctx.ConfigSet().GetString("set1")
    ```
* 2019-02-02 12:00
@devfeel devfeel merged commit 023a733 into master Feb 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant